Island Defense
May 23, 2012, 10:59:42 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: not so new version:  3.0.6G4, 3.0.8d
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: +% damage to existing damage modifiers  (Read 572 times)
0 Members and 1 Guest are viewing this topic.
Coaster_Man
Titan of the Abyss
******

Karma: +22/-18
Posts: 1170


Self Moderator

thomas_breen1994@hotmail.com
View Profile
« on: June 27, 2011, 09:40:56 AM »

How do I add extra damage (percent wise) to added damage via items.
i.e. A hero does 1-1 damage normally and when holding the sword he does +5 damage. When the hero gets XXX skill, he gets 50% more damage of the added 5, not the 1. I use GUI, if it is possible please help, thanks.
Logged

Pirate is an octopus in disguise!
theorchero
Guest
« Reply #1 on: August 05, 2011, 01:01:04 PM »

hmn.. depending on how you do it, you can:

-set it as a new ability and add as necessary

-Calculate a new ability strength to add [(total damage - base damage (assuming its constant)) * .5] + [(Total Damage)]
Logged
Coaster_Man
Titan of the Abyss
******

Karma: +22/-18
Posts: 1170


Self Moderator

thomas_breen1994@hotmail.com
View Profile
« Reply #2 on: August 05, 2011, 06:06:49 PM »

-set it as a new ability and add as necessary
You mean make an aura with a flat damage bonus and specifically set each level to be XX number (that I already determined) and then give the hero that aura at level XX? Seems inefficient and I don't even understand what you are saying anyways.

-Calculate a new ability strength to add [(total damage - base damage (assuming its constant)) * .5] + [(Total Damage)]
I don't think I can calculate total/base damages without hitting a unit... meaning I'd have to hit someone before my skill would "reset" to its actual level. Because I'm sure you can't add that formula to a regular spell lol. Also for this one you would have to create another aura or passive item spell and add it to the unit..  and you cannot set a random number to be the amount of damage the aura/item does. It has to be set within the world editor before hand, which means once again...  inefficient.

If I misread something inform me.
Logged

Pirate is an octopus in disguise!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!