YASSE Hitbasic (script): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (updated to latest version) |
||
Line 2: | Line 2: | ||
Last Updated: |
Last Updated: |
||
*--[[User:Hithrael|Hithrael]] |
*--[[User:Hithrael|Hithrael]] 04:10, 20 November 2010 (UTC) |
||
<pre> |
<pre> |
||
Line 16: | Line 16: | ||
setglobalvariable skinningknifemessage [wrist sheath] |
setglobalvariable skinningknifemessage [wrist sheath] |
||
setglobalvariable skinmax [3] |
setglobalvariable skinmax [3] |
||
setglobalvariable skincheck yes |
|||
#Local settings |
|||
setvariable spell pd |
|||
setvariable mana 15 |
|||
setvariable targettime 3 |
|||
#Action calls |
#Action calls |
||
action [There is nothing else to face!] gosub |
action [There is nothing else to face!] gosub foewait2 |
||
action [At what are you trying to] gosub |
action [At what are you trying to] gosub foewait1 |
||
action [You aren't close enough to attack] gosub |
action [You aren't close enough to attack] gosub foewait2 |
||
action [But you are already dodging!] put parry |
action [But you are already dodging!] put parry |
||
action [You are already in a position to parry.] put dodge |
action [You are already in a position to parry.] put dodge |
||
Line 34: | Line 29: | ||
#Add more messaging |
#Add more messaging |
||
action [lifeless mound] gosub loot |
action [lifeless mound] gosub loot |
||
action [collapses to the ground] gosub loot |
|||
action [then grows still] gosub loot |
|||
action [before collapsing] gosub loot |
|||
action [stops all movement] gosub loot |
|||
setup: |
setup: |
||
Line 42: | Line 43: | ||
setglobalvariable huntingweapon [%righthanditem] |
setglobalvariable huntingweapon [%righthanditem] |
||
goto %l |
goto %l |
||
TARGETED MAGIC |
|||
tm: |
|||
call tm |
|||
⚫ | |||
BLUNT WEAPONS |
BLUNT WEAPONS |
||
Line 229: | Line 235: | ||
skin: |
skin: |
||
if $skincheck$ contains not skin |
|||
goto lootstuff |
|||
if %youalsosee contains dead |
if %youalsosee contains dead |
||
begin |
begin |
||
Line 250: | Line 258: | ||
return |
return |
||
foewait1: |
|||
foewait: |
|||
⚫ | |||
put face next |
|||
⚫ | |||
⚫ | |||
pause |
pause |
||
if %righthanditem contains empty |
if %righthanditem contains empty |
||
Line 261: | Line 265: | ||
pause |
pause |
||
end |
end |
||
⚫ | |||
pausetext |
pausetext 60 [melee range] |
||
⚫ | |||
return |
|||
foewait2: |
|||
waitfor melee range |
|||
pause |
pause |
||
return |
return |
||
Line 267: | Line 277: | ||
end: |
end: |
||
exit |
exit |
||
</pre> |
</pre> |
Revision as of 22:10, 19 November 2010
This is part of the YASSE Combat Package.
Last Updated:
- --Hithrael 04:10, 20 November 2010 (UTC)
#Add more messaging #Search for the above language to find points in the script were more language is needed. #Global settings set predefined on setglobalvariable yetarrange [no] setglobalvariable knife [skinning knife] setglobalvariable arrangenumber [0] setglobalvariable skinningknifemessage [wrist sheath] setglobalvariable skinmax [3] setglobalvariable skincheck yes #Action calls action [There is nothing else to face!] gosub foewait2 action [At what are you trying to] gosub foewait1 action [You aren't close enough to attack] gosub foewait2 action [But you are already dodging!] put parry action [You are already in a position to parry.] put dodge action [To whom are you speaking?] goto end #Action calls for combat/critter death #Add more messaging action [lifeless mound] gosub loot action [collapses to the ground] gosub loot action [then grows still] gosub loot action [before collapsing] gosub loot action [stops all movement] gosub loot setup: pause boxmessage Enter weapon type now. \nClasses include: \n Blunt, Edged, lightedged, thrustedged, Pike, Halberd, Quarterstaff, Shortstaff, Thrown, and TM getline setglobalvariable huntingweapon [%righthanditem] goto %l TARGETED MAGIC tm: call tm goto setup BLUNT WEAPONS blunt: pause put feint waitfor roundtime pause put bash waitfor roundtime pause put sweep waitfor roundtime pause put draw waitfor roundtime pause put swing waitfor roundtime pause put dodge waitfor roundtime pause goto blunt EDGED WEAPONS lightedged: pause put feint waitfor roundtime pause put draw waitfor roundtime pause put slice waitfor roundtime pause put chop waitfor roundtime pause put dodge waitfor roundtime pause goto lightedged edged: pause put feint waitfor roundtime pause put draw waitfor roundtime pause put sweep waitfor roundtime pause put slice waitfor roundtime pause put chop waitfor roundtime pause put parry waitfor roundtime pause goto edged thrustedged: pause put feint waitfor roundtime pause put lunge waitfor roundtime pause put thrust waitfor roundtime pause put jab waitfor roundtime pause put slam waitfor roundtime pause put parry waitfor roundtime pause goto thrustedged POLE WEAPONS halberd: pause put feint waitfor roundtime pause put draw waitfor roundtime pause put slice waitfor roundtime pause put thrust waitfor roundtime pause put sweep waitfor roundtime pause put chop waitfor roundtime pause goto halberd pike: pause put dodge waitfor roundtime pause put jab waitfor roundtime pause put sweep waitfor roundtime pause put thrust waitfor roundtime pause put lunge waitfor roundtime pause goto pike STAFF WEAPONS quarterstaff: pause put feint waitfor roundtime pause put draw waitfor roundtime pause put swing waitfor roundtime pause put thrust waitfor roundtime pause put sweep waitfor roundtime pause put chop waitfor roundtime pause goto quarterstaff shortstaff: pause put feint waitfor roundtime pause put draw waitfor roundtime pause put slice waitfor roundtime pause put parry waitfor roundtime pause put thrust waitfor roundtime pause put chop waitfor roundtime pause goto shortstaff #Action Call Scripts loot: setglobalvariable huntingweapon [%righthanditem] pause put look nextroom skin: if $skincheck$ contains not skin goto lootstuff if %youalsosee contains dead begin call skin pause end lootstuff: pause call loot pause if %righthanditem contains empty begin if $huntingweapon$ contains empty return pause put wield $huntingweapon$ pause end pause return foewait1: pause if %righthanditem contains empty begin put wield $huntingweapon$ pause end pause pausetext 60 [melee range] pause return foewait2: waitfor melee range pause return end: exit