goddameit
New member
- Messages
- 59
- Points
- 0
- Age
- 34
- Emulator
Attachments
Last edited by a moderator:
read itI try to do this.. but my crit damage is still 1 ... where do I put that battle.c patch? am I just going to copy what's written inside that patch file and paste it to my battle.c?
Hmm I'ms ure it's 1288. Since the last time I check my emperium HP change to 100 HP after I update to latest one. When I change again the HP of 1288 mobid it applies to all castle emperium.It's because it filters for MOBID_EMPERIUM.
In map.h:
https://raw.githubusercontent.com/HerculesWS/Hercules/b8abf962fd079bc3cad4498aa968f2318d1f5fde/src/map/map.h
You can see that MOBID_EMPERIUM is defined as ID=1288, so it will only work on the monster with ID 1288.
If you want a different Emperium to work like this instead, just check for its monster ID and put the number instead of MOBID_EMPERIUM. What Emperium ID is spawning in WoE anyway?
ShowDebug("Attack against plant: critical=%d class_=%dn", flag.cri, class_);
We use essential cookies to make this site work, and optional cookies to enhance your experience.