HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Revive Trigger - problems with XP reduction

09-24-2006, 08:05 PM#1
AnachroNia
Hello,

This is the first time I use custom script. I used a tutorial to make it. I just added some more script. I want to subtract 5% from the current hero's experience everytime he dies. The problem is that when the hero is revived his experience doesn't change. Any ideas how I can make it work ?
Attached Images
File type: jpgReviveJass.jpg (65.8 KB)
09-25-2006, 02:51 AM#2
The_AwaKening
You should just convert that trigger to JASS since the whole thing is custom script anyway. Makes it easier to read Not sure why it doesn't work though. It looks ok
09-25-2006, 04:58 PM#3
AnachroNia
It doesnt matter if it is JASS or this way. The problem is why it doesnt work. I think there is no problem to set smaller XP than you have now. Maybe it's a problem with the variable OURHERO, but I dont know. It looks like a working trigger, but in the game it doesnt work. The hero is revived but the experience is the same as before.