Anyone here good at identifying code in dota? I've been having a hard time finding the calculation of a certain spell.
These are the following:
-Where is the calculation of the chance an Maelstrom's chain lightning to exist? it's supposed to be 20% and I'd like to change it.
-Was the code different for Mjolnir?
-Also looking for mjolnir's sheild percentage
Thanks.
identify Dota 6.48b or 6.49b jass code
Moderator: Cheaters
-
- V.I.P.
- Posts: 98
- Joined: December 4th, 2007, 10:24 am
identify Dota 6.48b or 6.49b jass code
auto-collider for wc3 1.22-- @ http://iliganshack.blogspot.com
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
Re: identify Dota 6.48b or 6.49b jass code
heres what you do:
if what you look for has to do with a:
item,ability,spell,etc:
open the map
extract the maps .w3u, .w3t, .w3a, war3map.j with mpqmaster
open them with a hex editor, and find your ability/spell/name etc (items in .w3t, abilities/spells in .w3a)
then just find the item ID, 4 digit number usually, then search for that in the .j, if you find nothing, you messed up or there is no jass calculation of that ability
NOTE: May not work with all abilities/items on dota as they arent all here!
use my unprotected dota (search fulfilled, its stickied) to see ALL items/spells/units in object editor, then hit View--> View Raw Data, then find the item/spells 4 digit code, then search the .j again.
http://forum.wc3edit.net/viewtopic.php?f=13&t=2930 (dota unprot)
if what you look for has to do with a:
item,ability,spell,etc:
open the map
extract the maps .w3u, .w3t, .w3a, war3map.j with mpqmaster
open them with a hex editor, and find your ability/spell/name etc (items in .w3t, abilities/spells in .w3a)
then just find the item ID, 4 digit number usually, then search for that in the .j, if you find nothing, you messed up or there is no jass calculation of that ability
NOTE: May not work with all abilities/items on dota as they arent all here!
use my unprotected dota (search fulfilled, its stickied) to see ALL items/spells/units in object editor, then hit View--> View Raw Data, then find the item/spells 4 digit code, then search the .j again.
http://forum.wc3edit.net/viewtopic.php?f=13&t=2930 (dota unprot)
-
- V.I.P.
- Posts: 98
- Joined: December 4th, 2007, 10:24 am
Re: identify Dota 6.48b or 6.49b jass code
Thanks for clearing up. I already did those before.
It's just unclear before that I thought everything was supposed to be in the jass.
Again. Thank you.
---update---
What i've found so far in 6.48b is
Mjolnir lightning shield chance
How much is GetRandomInt(1,'d')<21 in percentage value?
It's just unclear before that I thought everything was supposed to be in the jass.
Again. Thank you.
---update---
What i've found so far in 6.48b is
Mjolnir lightning shield chance
Code: Select all
function oR takes nothing returns boolean
if(GetTriggerEventId()==EVENT_UNIT_ATTACKED and GetRandomInt(1,'d')<21 and HG(GetTriggerUnit(),"oQ")==false)or GetTriggerEventId()!=EVENT_UNIT_ATTACKED then
call oq()
endif
return false
endfunction
-
- Senior Member
- Posts: 101
- Joined: June 1st, 2007, 9:05 pm
Re: identify Dota 6.48b or 6.49b jass code
21%
'd' is the integer value of the d ASCII shiz, which is 100, I believe.
'd' is the integer value of the d ASCII shiz, which is 100, I believe.