- Joined
- Feb 6, 2007
- RedCents
- 1,683¢
There are two features I would like to see added to kissassist.
1. a cumulative kill count - how many mobs have I killed since macro started?
2. a cumulative XP gain counter - how much XP have I gained since macro started with how long did it take. (Coding will have to evolve for longer play/afk times, I am rarely on-line more then few hours)
here is the coding snippets I was playing with, it's not quite right but it'll give you the idea.
1. a cumulative kill count - how many mobs have I killed since macro started?
2. a cumulative XP gain counter - how much XP have I gained since macro started with how long did it take. (Coding will have to evolve for longer play/afk times, I am rarely on-line more then few hours)
here is the coding snippets I was playing with, it's not quite right but it'll give you the idea.
Rich (BB code):
#Event killcount "#*# #1# has been slain#*#"
#Event killcount "#*#you have slain#*#"
#Event endcombat "#*#you gained raid experience#*#"
#Event endcombat "#*#you gain party experience#*#"
#Event endcombat "#*#you gain experience#*#"
/declare killcount int outer 0
/declare startxp int outer ${Me.PctExp}
/declare startaa int outer ${Me.AAPoints}
/declare runtime int outer 0
Sub Main
blah, blah, blah
/doevents
/return
Sub Event_killcount(S0,S1)
/doevents flush killcount
/if (${S1.Equal[pet]}) /return
/varcalc killcount ${killcount}+1
/return
Sub Event_endcombat(from1,from2)
/doevents flush endcombat
/doevents killcount
/doevents flush
/if (${Me.Level}<51) {
/echo You have ${Me.PctExp}% Exp. and ${killcount} kills.
} else {
/echo Totals: ${Me.PctExp}% Exp, ${Me.AAPoints} & ${Me.PctAAExp}% AA pts and ${killcount} kills.
}
/if (${Math.Calc[${Me.PctExp}-${startxp}]}<0) /varcalc startxp ${startxp}-100
/echo You have gained ${Math.Calc[${Me.PctExp}-${startxp}]}% experience in ${Math.Calc[(${Macro.RunTime}-${runtime})/60]} minutes
/return
Last edited:

