#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# Tons of Add-ons by Blizzard# Version: 7.31b# Type: Add-on Collection Control Script# Date v7.31b: 20.07.2009#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # PART 3# #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # This work is protected by the following license:# #----------------------------------------------------------------------------# # # # Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported# # ( [url="http://creativecommons.org/licenses/by-nc-sa/3.0/"]http://creativecommons.org/licenses/by-nc-sa/3.0/[/url] )# # # # You are free:# # # # to Share - to copy, distribute and transmit the work# # to Remix - to adapt the work# # # # Under the following conditions:# # # # Attribution. You must attribute the work in the manner specified by the# # author or licensor (but not in any way that suggests that they endorse you# # or your use of the work).# # # # Noncommercial. You may not use this work for commercial purposes.# # # # Share alike. If you alter, transform, or build upon this work, you may# # distribute the resulting work only under the same or similar license to# # this one.# # # # - For any reuse or distribution, you must make clear to others the license# # terms of this work. The best way to do this is with a link to this web# # page.# # # # - Any of the above conditions can be waived if you get permission from the# # copyright holder.# # # # - Nothing in this license impairs or restricts the author's moral rights.# # # #----------------------------------------------------------------------------# #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # VERY IMPORTANT NOTE:# # Tons of Add-ons now has to be used as 3-parts script because of a weird# behaviour of RMXP during bug detection. Insert the 3 parts in the correct# order and the system should work without problems. Do NOT remove any of the# parts, the script NEEDS all 3 parts to work with other systems.# # # If you find any bugs, please report them here:# [url="http://forum.chaos-project.com"]http://forum.chaos-project.com[/url]#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::## ## ### ### # # ##### # #### # # #### ### ##### # ### # # ## # # # # ## # # # # # # # # # # # # # # ## # ## # # # # # # #### # # ## # # #### # # # # # # # # # ## # # # # # ## # # # # # # # # ##### # # # # # ## ## ### ### # # # # #### ### # # # # # # ### # # ## ##:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# #==============================================================================# Game_System#============================================================================== class Game_System alias init_tons_of_addons3_later initialize def initialize init_tons_of_addons3_later#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# START Configuration 3-2, STATUS EFFECT and SKILL add-ons# # You can enable/disable any add-on here if you wish. Set the value to false# to disable it initially. To turn it on/off ingame, just use the Call script# command with one of these syntaxes:# # $game_system.NAME_OF_THE_ADDON = true# $game_system.NAME_OF_THE_ADDON = false# # where NAME_OF_THE_ADDON is the same variable as the one used below.#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # the STATUS EFFECT add-ons @ZOMBIE_STATUS = true @REGEN_STATUS = false @AUTO_REVIVE = false @FURY_STATUS = false @INVINCIBLE_STATUS = false @SP_COST_MOD = false @FROZEN = false @BLUE_MAGIC_STATUS = false @DOOM_STATUS = false # the SKILL add-ons @ABSORB_HP_SP = false @STATE_BREAKER = false @BLUE_MAGIC_SKILL = false @DEMI_SKILL = false @REVENGE_SKILL = false @DESTRUCTOR_SKILL = false @SP_DAMAGE_SKILL = false @CHARGE_SKILL = false @ENERGY_SKILL = false @MASTER_THIEF = false @HP_SKILL = false # the ITEM add-ons @SKILL_TEACHING_ITEM = false @LEVEL_UPDOWN_ITEM = false#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# END Configuration 3-2#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: end #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# I suggest you don't edit anything below this line except for the# configurations for the add-ons.#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: attr_accessor :ZOMBIE_STATUS attr_accessor :REGEN_STATUS attr_accessor :AUTO_REVIVE attr_accessor :FURY_STATUS attr_accessor :INVINCIBLE_STATUS attr_accessor :SP_COST_MOD attr_accessor :FROZEN attr_accessor :BLUE_MAGIC_STATUS attr_accessor :DOOM_STATUS attr_accessor :ABSORB_HP_SP attr_accessor :STATE_BREAKER attr_accessor :BLUE_MAGIC_SKILL attr_accessor :DEMI_SKILL attr_accessor :REVENGE_SKILL attr_accessor :DESTRUCTOR_SKILL attr_accessor :SP_DAMAGE_SKILL attr_accessor :CHARGE_SKILL attr_accessor :ENERGY_SKILL attr_accessor :MASTER_THIEF attr_accessor :HP_SKILL attr_accessor :SKILL_TEACHING_ITEM attr_accessor :LEVEL_UPDOWN_ITEM end #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::## ## ##### ##### ### ##### # # ##### ##### ##### ##### ##### ### ##### ## # # # # # # # # # # # # # # # ## ##### # # # # # # ##### #### #### #### #### # # ## # # ##### # # # # # # # # # # # ## ##### # # # # ### ##### ##### # # ##### ### # ## ##:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# Zombie Status Effect by Blizzard# Version: 1.3b# Type: Game Experience Improvement# Date: 26.9.2006# Date v1.1b: 18.3.2007# Date v1.2b: 13.11.2007# Date v1.3b: 19.10.2008#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # new in v1.1b:# - working itself without you needing to do anything except the# configuration# - actual code# - works with attacks and items now as well# # new in v1.2b:# - improved coding# - now possible to have more than one zombie status# # new in v1.3b:# - improved coding# - fixed possible problems# # # Configuration:# # ZOMBIE_IDS - the IDs of the Zombie status effects# LIGHT_ELEMENT_ID - the ID of the light element# ZOMBIE_POWER - how much stronger should light attacks be#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# START Configuration#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ZOMBIE_IDS = [27]LIGHT_ELEMENT_ID = 7ZOMBIE_POWER = 1.5 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# END Configuration#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: #==============================================================================# Game_Battler#============================================================================== class Game_Battler alias attack_effect_zombie_later attack_effect def attack_effect(attacker) last_hp = self.hp last_sr = (($crls && self.is_a?(Game_Actor)) ? self.sr : nil) result = attack_effect_zombie_later(attacker) zombie_effect(last_hp, last_sr, attacker) if self.damage.is_a?(Numeric) return result end alias skill_effect_zombie_later skill_effect def skill_effect(user, skill) last_hp = self.hp last_sr = (($crls && self.is_a?(Game_Actor)) ? self.sr : nil) result = skill_effect_zombie_later(user, skill) zombie_effect(last_hp, last_sr, skill) if self.damage.is_a?(Numeric) return result end alias item_effect_zombie_later item_effect def item_effect(item, battler = nil) if $game_system.ACTOR_ITEMS && self.is_a?(Game_Actor) return false if !FTSConfigs.item_can_consume?(self.id, item.id) end last_hp = self.hp last_sr = (($crls && self.is_a?(Game_Actor)) ? self.sr : nil) if battler == nil result = item_effect_zombie_later(item) else result = item_effect_zombie_later(item, battler) end zombie_effect(last_hp, last_sr, item) if self.damage.is_a?(Numeric) return result end def zombie_effect(last_hp, last_sr, object) if $game_system.ZOMBIE_STATUS && ZOMBIE_IDS.any? {|i| @states.include?(i)} self.hp = last_hp self.hp = self.hp self.sr = last_sr if last_sr != nil if self.damage.is_a?(Numeric) && self.damage < 0 self.damage = -self.damage end if object.element_set.include?(LIGHT_ELEMENT_ID) self.damage = (self.damage * ZOMBIE_POWER).to_i end self.hp -= self.damage end end end
Ecco il problema... lo script funziona divinamente.... lo cercavo da molto tempo, ma il problema sorge quando un personaggio affetto da zombie riceve un oggetto : (
zombie_effect(last_hp, last_sr, item) if self.damage.is_a?(Numeric)
return result
end
Premesse: Lo script l'ho modificato io perché fa parte di una roba abnorme che contiene un saco di script.... ho solo copia-incollato la prima parte che era giusto quella che mi interessava.
Question
Goofy !
Qui c'è lo script:
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# Tons of Add-ons by Blizzard# Version: 7.31b# Type: Add-on Collection Control Script# Date v7.31b: 20.07.2009#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # PART 3# #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # This work is protected by the following license:# #----------------------------------------------------------------------------# # # # Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported# # ( [url="http://creativecommons.org/licenses/by-nc-sa/3.0/"]http://creativecommons.org/licenses/by-nc-sa/3.0/[/url] )# # # # You are free:# # # # to Share - to copy, distribute and transmit the work# # to Remix - to adapt the work# # # # Under the following conditions:# # # # Attribution. You must attribute the work in the manner specified by the# # author or licensor (but not in any way that suggests that they endorse you# # or your use of the work).# # # # Noncommercial. You may not use this work for commercial purposes.# # # # Share alike. If you alter, transform, or build upon this work, you may# # distribute the resulting work only under the same or similar license to# # this one.# # # # - For any reuse or distribution, you must make clear to others the license# # terms of this work. The best way to do this is with a link to this web# # page.# # # # - Any of the above conditions can be waived if you get permission from the# # copyright holder.# # # # - Nothing in this license impairs or restricts the author's moral rights.# # # #----------------------------------------------------------------------------# #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # VERY IMPORTANT NOTE:# # Tons of Add-ons now has to be used as 3-parts script because of a weird# behaviour of RMXP during bug detection. Insert the 3 parts in the correct# order and the system should work without problems. Do NOT remove any of the# parts, the script NEEDS all 3 parts to work with other systems.# # # If you find any bugs, please report them here:# [url="http://forum.chaos-project.com"]http://forum.chaos-project.com[/url]#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::## ## ### ### # # ##### # #### # # #### ### ##### # ### # # ## # # # # ## # # # # # # # # # # # # # # ## # ## # # # # # # #### # # ## # # #### # # # # # # # # # ## # # # # # ## # # # # # # # # ##### # # # # # ## ## ### ### # # # # #### ### # # # # # # ### # # ## ##:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# #==============================================================================# Game_System#============================================================================== class Game_System alias init_tons_of_addons3_later initialize def initialize init_tons_of_addons3_later#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# START Configuration 3-2, STATUS EFFECT and SKILL add-ons# # You can enable/disable any add-on here if you wish. Set the value to false# to disable it initially. To turn it on/off ingame, just use the Call script# command with one of these syntaxes:# # $game_system.NAME_OF_THE_ADDON = true# $game_system.NAME_OF_THE_ADDON = false# # where NAME_OF_THE_ADDON is the same variable as the one used below.#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # the STATUS EFFECT add-ons @ZOMBIE_STATUS = true @REGEN_STATUS = false @AUTO_REVIVE = false @FURY_STATUS = false @INVINCIBLE_STATUS = false @SP_COST_MOD = false @FROZEN = false @BLUE_MAGIC_STATUS = false @DOOM_STATUS = false # the SKILL add-ons @ABSORB_HP_SP = false @STATE_BREAKER = false @BLUE_MAGIC_SKILL = false @DEMI_SKILL = false @REVENGE_SKILL = false @DESTRUCTOR_SKILL = false @SP_DAMAGE_SKILL = false @CHARGE_SKILL = false @ENERGY_SKILL = false @MASTER_THIEF = false @HP_SKILL = false # the ITEM add-ons @SKILL_TEACHING_ITEM = false @LEVEL_UPDOWN_ITEM = false#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# END Configuration 3-2#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: end #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# I suggest you don't edit anything below this line except for the# configurations for the add-ons.#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: attr_accessor :ZOMBIE_STATUS attr_accessor :REGEN_STATUS attr_accessor :AUTO_REVIVE attr_accessor :FURY_STATUS attr_accessor :INVINCIBLE_STATUS attr_accessor :SP_COST_MOD attr_accessor :FROZEN attr_accessor :BLUE_MAGIC_STATUS attr_accessor :DOOM_STATUS attr_accessor :ABSORB_HP_SP attr_accessor :STATE_BREAKER attr_accessor :BLUE_MAGIC_SKILL attr_accessor :DEMI_SKILL attr_accessor :REVENGE_SKILL attr_accessor :DESTRUCTOR_SKILL attr_accessor :SP_DAMAGE_SKILL attr_accessor :CHARGE_SKILL attr_accessor :ENERGY_SKILL attr_accessor :MASTER_THIEF attr_accessor :HP_SKILL attr_accessor :SKILL_TEACHING_ITEM attr_accessor :LEVEL_UPDOWN_ITEM end #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::## ## ##### ##### ### ##### # # ##### ##### ##### ##### ##### ### ##### ## # # # # # # # # # # # # # # # ## ##### # # # # # # ##### #### #### #### #### # # ## # # ##### # # # # # # # # # # # ## ##### # # # # ### ##### ##### # # ##### ### # ## ##:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# Zombie Status Effect by Blizzard# Version: 1.3b# Type: Game Experience Improvement# Date: 26.9.2006# Date v1.1b: 18.3.2007# Date v1.2b: 13.11.2007# Date v1.3b: 19.10.2008#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # new in v1.1b:# - working itself without you needing to do anything except the# configuration# - actual code# - works with attacks and items now as well# # new in v1.2b:# - improved coding# - now possible to have more than one zombie status# # new in v1.3b:# - improved coding# - fixed possible problems# # # Configuration:# # ZOMBIE_IDS - the IDs of the Zombie status effects# LIGHT_ELEMENT_ID - the ID of the light element# ZOMBIE_POWER - how much stronger should light attacks be#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# START Configuration#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ZOMBIE_IDS = [27]LIGHT_ELEMENT_ID = 7ZOMBIE_POWER = 1.5 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# END Configuration#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: #==============================================================================# Game_Battler#============================================================================== class Game_Battler alias attack_effect_zombie_later attack_effect def attack_effect(attacker) last_hp = self.hp last_sr = (($crls && self.is_a?(Game_Actor)) ? self.sr : nil) result = attack_effect_zombie_later(attacker) zombie_effect(last_hp, last_sr, attacker) if self.damage.is_a?(Numeric) return result end alias skill_effect_zombie_later skill_effect def skill_effect(user, skill) last_hp = self.hp last_sr = (($crls && self.is_a?(Game_Actor)) ? self.sr : nil) result = skill_effect_zombie_later(user, skill) zombie_effect(last_hp, last_sr, skill) if self.damage.is_a?(Numeric) return result end alias item_effect_zombie_later item_effect def item_effect(item, battler = nil) if $game_system.ACTOR_ITEMS && self.is_a?(Game_Actor) return false if !FTSConfigs.item_can_consume?(self.id, item.id) end last_hp = self.hp last_sr = (($crls && self.is_a?(Game_Actor)) ? self.sr : nil) if battler == nil result = item_effect_zombie_later(item) else result = item_effect_zombie_later(item, battler) end zombie_effect(last_hp, last_sr, item) if self.damage.is_a?(Numeric) return result end def zombie_effect(last_hp, last_sr, object) if $game_system.ZOMBIE_STATUS && ZOMBIE_IDS.any? {|i| @states.include?(i)} self.hp = last_hp self.hp = self.hp self.sr = last_sr if last_sr != nil if self.damage.is_a?(Numeric) && self.damage < 0 self.damage = -self.damage end if object.element_set.include?(LIGHT_ELEMENT_ID) self.damage = (self.damage * ZOMBIE_POWER).to_i end self.hp -= self.damage end end endEcco il problema... lo script funziona divinamente.... lo cercavo da molto tempo, ma il problema sorge quando un personaggio affetto da zombie riceve un oggetto : (
mi dice
http://img187.imageshack.us/img187/8003/46479096.png
e se apro lo scirpt editor mi appare lo slash (? si chiama così?) alla riga 233
alias item_effect_zombie_later item_effect
def item_effect(item, battler = nil)
if $game_system.ACTOR_ITEMS && self.is_a?(Game_Actor)
return false if !FTSConfigs.item_can_consume?(self.id, item.id)
end
last_hp = self.hp
last_sr = (($crls && self.is_a?(Game_Actor)) ? self.sr : nil)
if battler == nil
result = item_effect_zombie_later(item)
else
result = item_effect_zombie_later(item, battler)
end
zombie_effect(last_hp, last_sr, item) if self.damage.is_a?(Numeric)
return result
end
Premesse: Lo script l'ho modificato io perché fa parte di una roba abnorme che contiene un saco di script.... ho solo copia-incollato la prima parte che era giusto quella che mi interessava.
Qui l'originale.
La parte che ho preso io è nel terzo link, dalla riga 1 alla 262 praticamente.
Bhe... che dire..... HELP!!! Lo voglio questo script : /
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now