Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
How do I check if a skill was used? Is it the one you showed me?
And I've already tried researching it... I've spent about 2 days now googling my query and all that comes up is the "how to make a skill in the data base" crud I already know. -.-
UPDATE: After some messing around with the script I finally was able to get a working version of the HP drain to work for all party members when Actor 3 (my necromancer) has the skill learned:
class Game_Battler < Game_BattlerBase
def execute_damage(user)
on_damage(@result.hp_damage) if @result.hp_damage > 0
self.hp -= @result.hp_damage
self.mp -= @result.mp_damage
if $game_actors[3].skills.include?($data_skills[77])
$game_party.alive_members.each { |actor| actor.hp += @result.hp_drain }
else
user.hp += @result.hp_drain
end
user.mp += @result.mp_drain
end
end
All I need now is to change it so that instead of just knowing the skill, the necromancer actually uses it. I have looked all over the internet and I can't find a script call for the conditional branch if an actor uses a skill. Any ideas?