- Joined
- May 3, 2009
- Messages
- 69
I want to make a spell like Diablo II's runes. Ability gives "chance" % to do a magic like:
23% Chance To Cast Level 12 Volcano On Striking
5% Chance To Cast Level 23 Molten Boulder On Striking
100% Chance To Cast level 45 Meteor When You Die
15% Chance To Cast Level 22 Nova On Attack
+350% Enhanced Damage
Ignore Target's Defense
Adds 100-180 Magic Damage
7% Mana Stolen Per Hit
20% Chance Of Crushing Blow
20% Deadly Strike
Prevent Monster Heal
+10 To Dexterity
(From Diablo II's "Destruction Sword")
Like that. I just want to know how to cast spells with chances. I need a GUI one.
I tried to make a trigger with a roll variable then i make an if trigger. If roll < 30 then create sp. effect on unit ... But its not looking cool also sometimes bugging.
23% Chance To Cast Level 12 Volcano On Striking
5% Chance To Cast Level 23 Molten Boulder On Striking
100% Chance To Cast level 45 Meteor When You Die
15% Chance To Cast Level 22 Nova On Attack
+350% Enhanced Damage
Ignore Target's Defense
Adds 100-180 Magic Damage
7% Mana Stolen Per Hit
20% Chance Of Crushing Blow
20% Deadly Strike
Prevent Monster Heal
+10 To Dexterity
(From Diablo II's "Destruction Sword")
Like that. I just want to know how to cast spells with chances. I need a GUI one.
I tried to make a trigger with a roll variable then i make an if trigger. If roll < 30 then create sp. effect on unit ... But its not looking cool also sometimes bugging.