hey thats me again , hi buddies :3
this time i am searching for a script or idea that let the actor changing his normal attacks to elemental attacks
kinda like FF series "mirror change" skill (this skill changes your elemental resist randomly)
-but whta i looking for is something like: char used "A"skill (this skill changes the char state to "X" state nad this state let`s the char normal attacks add fire, aqua, wind,etc single element)
next : char use "B" skill (changes state to "Y" this erase the "X" state losing the fire,aqua.wind,etc but gaining earth ,holy , dark, etc)
kindda self-explanatory right?? thanks guys :3
PD: no third scripts add-ons etc , just a recently installed rpgxp
Resolved just modifing a few lines of Game_guy`s elemental attack armors. problem resolved
#===============================================================================
# Element Attack States
# Author game_guy
# Version 1.0
#-------------------------------------------------------------------------------
# Intro:
# All states setup in the database just allows you to make them guard against
# elements. This scripts makes it possible to allow them to add elements to
# your attack. Ex: You have Fiery guard or fire ammo = Weapons do fire-typed
# damage when equipped.
#
# Features:
# Adds elements to your attacks according to current state.
#
# Instructions:
# Go down to Setup States and follow instructions there.
#
# Credits:
# game_guy ~ For making it
# jragyn00 ~ For requesting it
# Lanzer ~ For remixing it
#===============================================================================
module GameGuy
def self.accelement(id)
case id
#===========================
# State Element Attack Setup
# Use when state_id then return [elements]
#===========================
when 89 then return [1]
when 90 then return [2]
when 91 then return [3]
when 92 then return [5]
when 93 then return [6]
when 94 then return [7]
when 95 then return [8]
end
return []
end
end
class Game_Actor < Game_Battler
alias gg_elem_state_attack_lat element_set
def element_set
return multi_equip_elem if defined?(G7_MS_MOD)
elem = gg_elem_state_attack_lat
for i in @states
if i != nil
for j in GameGuy.accelement(i)
elem.push(j)
end
end
end
return elem
end
def multi_equip_elem
elem = gg_elem_state_attack_lat
for i in @states
if i != 0
for j in GameGuy.accelement(i)
elem.push(j)
end
end
end
return elem
end
end