POINT_ATT_BONUS / ( Damage+% )

05/23/2013 18:30 NabbHackeR#1
Hello,

I need a function / dif to remove point_att_bonus after using it for a quest.

for example:

my pet gives +15% damage ( 15 point_att_bonus )

but i need a dif to remove it when the pet is unsummones, because affect_remove_collect don't work with point_

Thanks.
05/23/2013 18:40 [SA]Tears aka.[BlackBite]#2
no public dif for that, dont know if this is possible, how do you use the command in the quest for giving the bonus?
05/23/2013 18:42 NabbHackeR#3
Code:
affect.add_collect_point(POINT_ATT_BONUS,10,60*60*24*365*60)
it works.. but i need a function like this:

Code:
affect.remove_collect_point(POINT_ATT_BONUS,10,60*60*24*365*60)
05/23/2013 18:44 [SA]Tears aka.[BlackBite]#4
you can use it so :

affect.add_collect_point(POINT_ATT_BONUS,-10,60*60*24*365*60)

it work .. in my serverfiles it works ..
05/23/2013 19:20 NabbHackeR#5
Thank you!!
05/23/2013 20:10 [SA]Tears aka.[BlackBite]#6
no problem i think everything works now, then i would say #closerequest