• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Spell damage help

Status
Not open for further replies.

CyberDuelX16

C

CyberDuelX16

I play TBR alot and i love it. Right now im making my own RPG but i lack the skills and experiance to know how to make items give Spell Damage can someone please help thanks =)
 

CyberDuelX16

C

CyberDuelX16

Lol can u give me an example on how to create 'that system'
 
Level 9
Joined
Oct 7, 2007
Messages
599
Just trigger it with events based on detecting when the cast happens "Whenever a unit starts the effects of an ability," checking the correct one "Ability being cast equal to...," then doing the appropriate actions, whether its damage, using dummy casters, or anything else.

Everything I mentioned above is fundamental. If you don't know what I'm talking about, search it up yourself or go into the tutorial. There's a lot of helpful reading there.
 
Level 3
Joined
Feb 13, 2008
Messages
65
If I was in your position, i would make an integer/real variable for all of your heroes.

Lets say SpellHero_One is for your first hero, and lets say that he gets an item that has +10 spell damage.

Make a trigger that says Set SpellHero_One = (Spellhero_One + 10).

Then I would make triggers for each one of my hero's spells, that basically says:

example: Holy light heals 400 damage (If you have levels of spells, set them per level)

Your trigger will be

A unit starts the effect of an ability

Ability being cast equal to Holy Light

Unit - Set life of (Target unit of ability being cast) to (life of Target unit of ability being cast + 400 + SpellHero_One).

Then you can add a floating text line here over the target unit of ability being cast to show that they got however much bonus healing done to them.

It might sound like a lot of work, but once you get every hero and spell level worked out its just a matter of plugging in numbers.
 
Status
Not open for further replies.
Top