| 09-24-2006, 08:05 PM | #1 |
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 ? |
| 09-25-2006, 02:51 AM | #2 |
You should just convert that trigger to JASS since the whole thing is custom script anyway. Makes it easier to read |
| 09-25-2006, 04:58 PM | #3 |
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. |
