The Steal and Peep Script
#9
Quote:As a rule, it is better to have an outside script that performs changes than to directly edit the already-existing default scripts. Those changes are typically untraceable and can cause issues down the line.

Definitely! I was still very inexperienced back in 2005. I'd never apply something like that today, but alas this is an old project. Laughing

Armor bonuses are so cool! Didn't occur to me to make them temporary. I just used regular stat-boosting equipment.

I implemented the script, and hashed out the armor penalties (as most of the headgear are bandanas, masks, etc). I did add two bits of headgear, and made the second one give bonuses to both peep and steal:

Code:
  # SKILL ARMOR
  # ===========
  # These hash arrays allows you to give a bonus or penalty to worn armor that
  # specifically affects a steal or peep effect.
  #
  # SYNTAX:  ARMOR[armor_id] = [steal)bonus, peep_bonus]
  #--------------------------------------------------------------------------
  #
  #  ARMOR[5]    = [ 0,-10] # The default helmets are 5-8
  #  ARMOR[6]    = [ 0,-10] #   I made it a -10 to their agility check
  #  ARMOR[7]    = [ 0,-10] #   when trying to 'peep' on an enemy. There
  #  ARMOR[8]    = [ 0, -5] #   is a -5 for Mythril... just because
  #
  #  ARMOR[14]   = [ 0,  5] # EXAMPLE: Thief Gloves: Gives +10 to wearer's dex for steals
    ARMOR[14]   = [ 5,  5] # Pink Okami Mask: Gives +5 to wearer's agi for peeps
    ARMOR[15]   = [10, 10] # Purple Okami Mask:  Gives +10 to wearer's agi and dex for peeps and steals

However, whenever I use either peep / steal, this tiny error pops up (see attached) and after I click OK, the battle continues. (The numbers are different for another character)
I searched the code for those numbers thinking I messed up the item or skill table, but there were no lines that matched those numbers exactly.  Sweat


Attached Files Thumbnail(s)
   
Reply }


Messages In This Thread
The Steal and Peep Script - by DerVVulfman - 02-13-2025, 08:49 PM
RE: The Steal and Peep Script - by Ace_V - 02-14-2025, 05:50 PM
RE: The Steal and Peep Script - by Ace_V - 02-16-2025, 12:37 PM
RE: The Steal and Peep Script - by DerVVulfman - 02-16-2025, 07:06 PM
RE: The Steal and Peep Script - by Ace_V - 02-17-2025, 02:51 PM
RE: The Steal and Peep Script - by DerVVulfman - 02-17-2025, 03:51 PM
RE: The Steal and Peep Script - by Ace_V - 02-17-2025, 04:39 PM
RE: The Steal and Peep Script - by DerVVulfman - 02-17-2025, 08:00 PM
RE: The Steal and Peep Script - by Ace_V - 02-18-2025, 05:08 AM
RE: The Steal and Peep Script - by kyonides - 02-18-2025, 02:46 PM
RE: The Steal and Peep Script - by Ace_V - 02-18-2025, 04:44 PM
RE: The Steal and Peep Script - by DerVVulfman - 02-18-2025, 05:42 PM
RE: The Steal and Peep Script - by Ace_V - 02-19-2025, 07:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Script Commands Bug Fixes kyonides 2 198 02-13-2025, 08:35 PM
Last Post: kyonides
   Text Scroll Script - Enhanced DerVVulfman 23 36,013 02-18-2021, 04:16 AM
Last Post: DerVVulfman
   Cursor Script Selwyn 7 16,170 09-28-2019, 02:13 PM
Last Post: DerVVulfman
   ACBS FIX SCRIPT #2: Advanced Cry Correction DerVVulfman 1 5,036 08-09-2019, 03:42 PM
Last Post: aeliath
   ACBS FIX SCRIPT #1: Victory Cries Patch DerVVulfman 1 5,112 08-08-2019, 02:53 PM
Last Post: aeliath
   Spritesheet Generator Conversion Script DerVVulfman 0 4,543 11-21-2018, 04:48 AM
Last Post: DerVVulfman
   Neo Mode 7 Script by MGCaladtogel MGC 59 129,875 09-29-2017, 03:48 AM
Last Post: DerVVulfman
   Longer Script Calls LiTTleDRAgo 0 5,175 05-17-2017, 12:36 AM
Last Post: LiTTleDRAgo
   SLOLS: Snake Look-alike on Load Script Zeriab 3 11,810 05-14-2017, 06:25 PM
Last Post: LiTTleDRAgo
   Character Select Script Selwyn 3 11,244 03-07-2017, 04:14 AM
Last Post: JayRay



Users browsing this thread: 2 Guest(s)