Hello
someone have a Ranger Lua with using mau ? i tried but i failed to change the lua for ranger.
Thanks a lot
Ranger Lua with mau I
Re: Ranger Lua with mau I
I don't use a ranger but I'm sure the following source code will works fine:
In the file Skill.xml (Skill.NA.xml) you will find the rigth name of the skill .. I searched there and I found 2 values for Mau:
Mau Transformation
Transformation: Mau
If the code doesn't work with "Transformation: Mau" try with "Mau Transformation".
You can check for the rigth name of the skill in the game client ..
Code: Select all
-- Transformation: Mau
if Player:GetState():GetState( Helper:CheckName( "Transformation: Mau" )) == nil and Helper:CheckAvailable( "Transformation: Mau" ) then
Helper:CheckExecute( "Transformation: Mau" );
return false;
end
Mau Transformation
Transformation: Mau
If the code doesn't work with "Transformation: Mau" try with "Mau Transformation".
You can check for the rigth name of the skill in the game client ..
-
- Posts: 75
- Joined: Wed Jan 18, 2017 12:27 pm
- Has thanked: 10 times
- Been thanked: 13 times
Re: Ranger Lua with mau I
You can also add if you char doesnt cast anyhting anymore because some DP skill require it (if not all) otherwise AS will just try to cast Mau also if your char has zero dp.
-> final code:
Code: Select all
Player:GetDP() >=2000
-> final code:
Code: Select all
-- Transformation: Mau
if Player:GetDP() >=2000 and Player:GetState():GetState( Helper:CheckName( "Transformation: Mau" )) == nil and Helper:CheckAvailable( "Transformation: Mau" ) then
Helper:CheckExecute( "Transformation: Mau" );
return false;
end
Who is online
Users browsing this forum: No registered users and 0 guests