Entity ko KR - Reetus/ClassicAssist GitHub Wiki

ํด๋ž˜์‹์–ด์‹œ์ŠคํŠธ ๋งคํฌ๋กœ ๋ช…๋ น์–ด

์ƒ์„ฑ๋œ 2024-12-15 ์˜ค์ „ 3:30:41
๋ฒ„์ „: 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a
Translated by Mark Hunt & Andy H.

๊ฒŒ์ž„์˜ค๋ธŒ์ ํŠธ

AddFriend

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 AddFriend(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋Œ€์ƒ์„ ์นœ๊ตฌ ๋ชฉ๋ก์— ์ถ”๊ฐ€. ์‹œ๋ฆฌ์–ผ / ์ด๋ฆ„์ด ์—†์œผ๋ฉด, ํƒ€๊ฒŸ ์ปค์„œ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

AddFriend()  

Ally

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Ally(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ๋™๋งน์ธ ๊ฒฝ์šฐ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Criminal("mount"):  

AutoColorPick

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void AutoColorPick(Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • hue: ์•„์ดํƒฌ ์ƒ‰์กฐ ๋˜๋Š” ๋ชจ๋“  ๊ฐ’์— -1.

์„ค๋ช…:

์—ผ์ƒ‰ ํŠœ๋ธŒ ์ƒ‰์ƒ์„ ์ •์˜ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋“ค์–ด์˜ค๋Š” ์—ผ์ƒ‰ ์ƒ‰์ƒ ๊ฐœ์ฒด์— ๋Œ€ํ•œ ์ž๋™ ์‘๋‹ต์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

AutoColorPick(666)
UseObject('dyes')
WaitForTarget(1000)
Target('tub')  

BuffExists

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean BuffExists(System.String)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • name: ๋ฒ„ํ”„ ์ด๋ฆ„.

์„ค๋ช…:

ํŠน์ • ๋ฒ„ํ”„๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if BuffExists("Blood Oath"):  

BuffTime

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Double BuffTime(System.String)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • name: ๋ฒ„ํ”„ ์ด๋ฆ„.

์„ค๋ช…:

๋ฒ„ํ”„ ์ฃผ๋ฌธ์ด ์‹œ์ „์ค‘์ด๊ฑฐ๋‚˜ ๋งŒ๋ฃŒ / ๋น„ํ™œ์„ฑํ™” ๋œ ๊ฒฝ์šฐ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if not BuffExists('Enemy Of One') or BuffTime('Enemy Of One') < 5000:
    Cast('Enemy Of One')
  

ClearIgnoreList

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void ClearIgnoreList()

์„ค๋ช…:

์ฐจ๋‹จ๋œ ๋ฆฌ์ŠคํŠธ๋ฅผ ์ดˆ๊ธฐํ™”ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

ClearIgnoreList()  

ClearObjectQueue

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void ClearObjectQueue()

์„ค๋ช…:

Clears all actions in action packet queue

์˜ˆ์‹œ:

ClearObjectQueue()  

CountType

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 CountType(Int32, System.Object, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • graphic: ์•„์ดํ…œID/๊ทธ๋ž˜ํ”ฝ ์˜ˆ์‹œ) 0x3db .
  • source: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)
  • hue: ์•„์ดํƒฌ ์ƒ‰์กฐ ๋˜๋Š” ๋ชจ๋“  ๊ฐ’์— -1. (์˜ต์…˜)

์„ค๋ช…:

์ปจํ…Œ์ด๋„ˆ ์•ˆ์— ์žˆ๋Š” ๋ฌผ๊ฑด์˜ ์ˆ˜๋Ÿ‰์„ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

CountType(0xff, "backpack")  

CountTypeGround

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 CountTypeGround(Int32, Int32, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • graphic: ์•„์ดํ…œID/๊ทธ๋ž˜ํ”ฝ ์˜ˆ์‹œ) 0x3db .
  • hue: ์•„์ดํƒฌ ์ƒ‰์กฐ ๋˜๋Š” ๋ชจ๋“  ๊ฐ’์— -1. (์˜ต์…˜)
  • range: ๊ฑฐ๋ฆฌ ์˜ˆ์‹œ) 10. (์˜ต์…˜)

์„ค๋ช…:

์ง€์ƒ์—์žˆ๋Š” ํƒˆ๊ฒƒ ๋˜๋Š” ๋ฌผ๊ฑด์˜ ์ˆ˜๋Ÿ‰์„ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if CountGround(0xff, 0, 10) < 1:  

Criminal

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Criminal(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ๋ฒ”์ฃ„์ž์ธ ๊ฒฝ์šฐ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Criminal("mount"):  

Dead

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Dead(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋Œ€์ƒ์ด ์ฃฝ์€ ๊ฒฝ์šฐ true๋กœ, ๊ทธ๋ ‡์ง€ ์•Š์€ ๊ฒฝ์šฐ false๋กœ ๋™์ž‘ํ•˜๊ณ , ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null ์ธ ๊ฒฝ์šฐ ํ”Œ๋ ˆ์ด์–ด์—๊ฒŒ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋ฒˆํ˜ธ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

if Dead("self"):  

Dex

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Dex()

์„ค๋ช…:

ํ”Œ๋ ˆ์ด์–ด์˜ ๋ฑ์Šค๋ฅผ ๋Œ๋ ค์ค๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Str() < 100:  

DiffHits

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 DiffHits(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null์ธ ๊ฒฝ์šฐ ์ตœ๋Œ€ ๋ฐ ํ˜„์žฌ ํƒ€๊ฒฉ์˜ ์ฐจ์ด๋ฅผ ์ ์šฉํ•˜๊ณ , ๋‹ค์Œ ํ”Œ๋ ˆ์ด์–ด์—์„œ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋ฒˆํ˜ธ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

if DiffHits("self") > 50:  

DiffHitsPercent

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Double DiffHitsPercent(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

Returns the given mobiles different between max and currents hits as a percentage, if parameter is null, then returns the value from the player (parameter can be serial or alias).

์˜ˆ์‹œ:

if DiffHitsPercent("self") > 30: # 70% health  

DiffWeight

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 DiffWeight()

์„ค๋ช…:

์ตœ๋Œ€๋กœ ์†Œ์ง€ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌด๊ฒŒ๊ฐ€ ๋˜์—ˆ์„๋•Œ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if DiffWeight() > 50:  

Direction

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

System.String Direction(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

์ง€์ •๋œ ๋ณ„์นญ/์‹œ๋ฆฌ์–ผ์ด ํ–ฅํ•˜๋Š” ๋ฐฉํ–ฅ์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค

์˜ˆ์‹œ:

if Direction('enemy') == 'West':  

DirectionTo

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

System.String DirectionTo(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

ํ”Œ๋ ˆ์ด์–ด์™€ ํ•ด๋‹น ๊ฐœ์ฒด์˜ ๋ฐฉํ–ฅ์œผ๋กœ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

Run(DirectionTo("enemy"))  

Distance

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Distance(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

ํ•ด๋‹น ๊ฐœ์ฒด์™€ ์ •ํ•ด์ง„ ๊ฑฐ๋ฆฌ๊ฐ€ ๋˜์—ˆ์„๋•Œ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Distance("mount") < 4:  

Distance

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Distance(Int32, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • x: X ์ขŒํ‘œ.
  • y: Y ์ขŒํ‘œ.

์„ค๋ช…:

Returns the distance to the given coordinates.

์˜ˆ์‹œ:

location = (1000, 1000, 0)

while Distance(location[0], location[1]) > 2:
 Pathfind(location[0], location[1], location[2])
 Pause(1000)  

Enemy

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Enemy(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ์ ์ผ๋•Œ ์ž‘๋™๋ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Criminal("mount"):  

EquipWand

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean EquipWand(System.String, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • wandname: ์ง€ํŒก์ด ์ด๋ฆ„. ์ฐธ์กฐ: WandTypes
  • minimumcharges: ์ •์ˆ˜ ๊ฐ’ - ์‚ฌ์šฉ ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์„ค๋ช…์„ ๋ณด์„ธ์š”. (์˜ต์…˜)

์„ค๋ช…:

๋ฐฐ๋‚ญ ์•ˆ์—์„œ wand๋ฅผ ์ฐพ์•„์„œ ์ฐฉ์šฉํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

#Equip a fireball wand if one can be found in our backpack..
if FindWand("fireball", "backpack", 5):
 #Remove current item in hand
 if FindLayer("OneHanded"):
  ClearHands("left")
 #Equip the wand
 EquipWand("fireball")  

FasterCasting

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Double FasterCasting()

์„ค๋ช…:

ํ˜„์žฌ ํ”Œ๋ ˆ์ด์–ด์˜ ๋น ๋ฅธ์ฃผ๋ฌธ์‹œ์ „ ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

fc = FasterCasting()  

FasterCastRecovery

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Double FasterCastRecovery()

์„ค๋ช…:

ํ˜„์žฌ ํ”Œ์—์ด์–ด์˜ ํŒŒ๋ฅธ์ฃผ๋ฌธํšŒ๋ณต ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

fcr = FasterCastRecovery()  

FindObject

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean FindObject(System.Object, Int32, System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • range: ๊ฑฐ๋ฆฌ ์˜ˆ์‹œ) 10. (์˜ต์…˜)
  • findlocation: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๊ฐœ์ฒด์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์ฐพ์Šต๋‹ˆ๋‹ค. ํ•ด๋‹น ๊ฐœ์ฒด์— ๋Œ€ํ•œ ์ •๋ณด๊ฐ€ ์—†์œผ๋ฉด ๊ธฐ๋ณธ ๊ฐ’์œผ๋กœ ๋ณ€๊ฒฝ๋ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

# Find on ground
FindObject("mount")

# Find on ground with range
FindObject("mount", 10)

# Find in container, must specify search level or -1
FindObject("weapon", -1, "backpack")    

FindType

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean FindType(Int32, Int32, System.Object, Int32, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • graphic: ์•„์ดํ…œID/๊ทธ๋ž˜ํ”ฝ ์˜ˆ์‹œ) 0x3db .
  • range: ๊ฑฐ๋ฆฌ ์˜ˆ์‹œ) 10. (์˜ต์…˜)
  • findlocation: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)
  • hue: ์•„์ดํƒฌ ์ƒ‰์กฐ ๋˜๋Š” ๋ชจ๋“  ๊ฐ’์— -1. (์˜ต์…˜)
  • minimumstackamount: ์ˆ˜๋Ÿ‰์„ ๋‚˜ํƒ€๋‚ด๋Š” ์ •์ˆ˜, ์˜ˆ) 10. (์˜ต์…˜)

์„ค๋ช…:

๊ฐœ์ฒด์— ๋Œ€ํ•œ ์ด๋ฏธ์ง€ ์ •๋ณด๋ฅผ ์ฐพ์Šต๋‹ˆ๋‹ค. ํ•ด๋‹น ๊ฐœ์ฒด์— ๋Œ€ํ•œ ์ •๋ณด๊ฐ€ ์—†์œผ๋ฉด ๊ธฐ๋ณธ ๊ฐ’์œผ๋กœ ๋ณ€๊ฒฝ๋ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

# Look for a food item from a list and eat 1 if found.
if not ListExists("food"):
 CreateList("food")
 PushList("food", 0x9b7) #bird
 PushList("food", 0x9d3) #ham
 PushList("food", 0x97d) #cheese
 PushList("food", 0x9d0) #apple
 PushList("food", 0x9eb) #muffin
 PushList("food", 0x97b) #fishsteak
 PushList("food", 0x9c0) #sausage
 PushList("food", 0x9f2) #ribs
 PushList("food", 0x9d1) #grapes
 PushList("food", 0x9d2) #peach

for i in GetList("food"):
 if FindType(i, -1, "backpack"):
  UseObject("found")
  break  

FindWand

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean FindWand(System.String, System.Object, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • wandname: ์ง€ํŒก์ด ์ด๋ฆ„. ์ฐธ์กฐ: WandTypes
  • containersource: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)
  • minimumcharges: ์ •์ˆ˜ ๊ฐ’ - ์‚ฌ์šฉ ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์„ค๋ช…์„ ๋ณด์„ธ์š”. (์˜ต์…˜)

์„ค๋ช…:

wand๋ฅผ ๊ฒ€์ƒ‰ํ•˜๊ณ  ์ด๋ฆ„์„ "found"๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

FindWand("fireball", "backpack", 10)  

Followers

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Followers()

์„ค๋ช…:

์ƒํƒœ ํ‘œ์‹œ ์ค„์— ํ˜„์žฌ ํŒ”๋กœ์›Œ ์ˆ˜๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Followers() < 1:  

Gold

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Gold()

์„ค๋ช…:

์ƒํƒœ ํ‘œ์‹œ ์ค„์— ํ˜„์žฌ ๊ณจ๋“œ์–‘์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Gold() < 2000:  

Graphic

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Graphic(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

์ฃผ์–ด์ง„ ๊ฐ์ฒด์˜ ์•„์ดํ…œ ID๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. (๊ฐœ์ฒด๋Š” ์‹œ๋ฆฌ์–ผ ๋ฒˆํ˜ธ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

Graphic("mount")  

Gray

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Gray(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ๊ณต๊ฒฉ ๊ฐ€๋Šฅํ•œ ๊ฒฝ์šฐ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Criminal("mount"):  

Hidden

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Hidden(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋Œ€์ƒ์ด ์ˆจ์–ด ์žˆ์œผ๋ฉด true๋กœ, ๊ทธ๋ ‡์ง€ ์•Š์œผ๋ฉด false๋กœ ๋™์ž‘ํ•˜๊ณ , ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null์ด๋ฉด ํ”Œ๋ ˆ์ด์–ด์—์„œ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋ฒˆํ˜ธ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

if Hidden("self"):  

Hits

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Hits(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null ์ธ ๊ฒฝ์šฐ ๋Œ€์ƒ์˜ ํžˆํŠธ ํฌ์ธํŠธ๊ฐ€ ๋‹ค์Œ ํ”Œ๋ ˆ์ด์–ด์—๊ฒŒ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋ฒˆํ˜ธ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

hits = Hits("self")  

Hue

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Hue(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

์ง€์ •๋œ ๊ฐ์ฒด์˜ ์ƒ‰์ƒ์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์ƒ‰์ƒ๋ฒˆํ˜ธ ๋˜๋Š” ์ƒ‰์ƒ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

if Hue("mount") == 0:  

IgnoreObject

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void IgnoreObject(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

์ฐพ๊ธฐ ๋ช…๋ น์—์„œ ์ง€์ •๋œ ๋Œ€์ƒ์„ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

IgnoreObject("self")  

InFriendList

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean InFriendList(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ์นœ๊ตฌ ๋ชฉ๋ก์— ์žˆ์œผ๋ฉด ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if InFriendList("last"):  

InIgnoreList

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean InIgnoreList(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

์‹œ๋ฆฌ์–ผ / ์ด๋ฆ„์ด ๋ฌด์‹œ ๋ชฉ๋ก์— ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”.

์˜ˆ์‹œ:

if InIgnoreList("mount"):  

Innocent

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Innocent(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ๋ฌด๊ณ ํ•œ ์ƒํƒœ์ผ ๊ฒฝ์šฐ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Criminal("mount"):  

InParty

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean InParty(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

์ฃผ์–ด์ง„ ์‹œ๋ฆฌ์–ผ / ๋Œ€์ƒ์ด ๋‹น์‹ ๊ณผ ํŒŒํ‹ฐ์— ์žˆ๋‹ค๋ฉด ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if InParty("friend"):  

InRange

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean InRange(System.Object, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • distance: ๊ฑฐ๋ฆฌ.

์„ค๋ช…:

์บ๋ฆญํ„ฐ์™€ ๋‹ค๋ฅธ ๋Œ€์ƒ ๋˜๋Š” ์•„์ดํ…œ ์‚ฌ์ด์˜ ๊ฑฐ๋ฆฌ๋ฅผ ํ™•์ธํ•˜์‹ญ์‹œ์˜ค.

์˜ˆ์‹œ:

if InRange("enemy", 10):  

Int

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Int()

์„ค๋ช…:

ํ”Œ๋ ˆ์ด์–ด์˜ ์ง€๋Šฅ์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Str() < 100:  

Invulnerable

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Invulnerable(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋ชจ๋ฐ”์ผ์˜ ๋ฌด์ ์ด๋ผ๋ฉด ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Criminal("mount"):  

Luck

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Luck()

์„ค๋ช…:

์ƒํƒœ ํ‘œ์‹œ ์ค„์— ์šด ๊ฐ’์ด ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Luck() < 800:  

Mana

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Mana(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null ์ธ ๊ฒฝ์šฐ ์ง€์ •๋œ ๋Œ€์ƒ์˜ ๋งˆ๋‚˜๋ฅผ ํ”Œ๋ ˆ์ด์–ด์—๊ฒŒ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

if Mana("self") < 25:  

Map

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Map()

์„ค๋ช…:

Returns the current map of the Player

์˜ˆ์‹œ:

Map()  

MaxFollowers

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 MaxFollowers()

์„ค๋ช…:

์ƒํƒœ ํ‘œ์‹œ ์ค„์— ์ตœ๋Œ€ ํŒ”๋กœ์›Œ ์ˆ˜๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Followers() == MaxFollowers():  

MaxHits

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 MaxHits(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null ์ธ ๊ฒฝ์šฐ ๋Œ€์ƒ์˜ ์ตœ๋Œ€ ํžˆํŠธ ํฌ์ธํŠธ๋ฅผ ํ”Œ๋ ˆ์ด์–ด์—์„œ ๋Œ๋ ค์ค๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

hits = MaxHits("self")  

MaxMana

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 MaxMana(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null ์ธ ๊ฒฝ์šฐ ๋Œ€์ƒ์˜ ์ตœ๋Œ€ ๋งˆ๋‚˜๋ฅผ ํ”Œ๋ ˆ์ด์–ด์—์„œ ๋Œ๋ ค์ค๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

mana = MaxMana("self")  

MaxStam

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 MaxStam(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null ์ธ ๊ฒฝ์šฐ ์ง€์ •๋œ ๋Œ€์ƒ์˜ ์ตœ๋Œ€ ์ฒด๋ ฅ ํ”Œ๋ ˆ์ด์–ด์—์„œ ๋Œ๋ ค์ค๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

stam = MaxStam("self")  

MaxWeight

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 MaxWeight()

์„ค๋ช…:

์ƒํƒœ ๋ง‰๋Œ€ ๋ฐ์ดํ„ฐ์— ๋”ฐ๋ผ ์ตœ๋Œ€ ๋ฌด๊ฒŒ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if MaxWeight() < 300:  

Mounted

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Mounted(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ๋งˆ์šดํŠธ ๋œ ๊ฒฝ์šฐ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Mounted("self"):  

MoveItem

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void MoveItem(System.Object, System.Object, Int32, Int32, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • item: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • destination: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • amount: ์ˆ˜๋Ÿ‰์„ ๋‚˜ํƒ€๋‚ด๋Š” ์ •์ˆ˜, ์˜ˆ) 10. (์˜ต์…˜)
  • x: X ์ขŒํ‘œ. (์˜ต์…˜)
  • y: Y ์ขŒํ‘œ. (์˜ต์…˜)

์„ค๋ช…:

์•„์ดํ…œ์„ ์ปจํ…Œ์ด๋„ˆ๋กœ ์˜ฎ๊น๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

MoveItem("source", "destination")  

MoveItemOffset

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void MoveItemOffset(System.Object, Int32, Int32, Int32, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • xoffset: X ์ขŒํ‘œ ๋ณ€์ˆ˜.
  • yoffset: Y ์ขŒํ‘œ ๋ณ€์ˆ˜.
  • zoffset: Z ์ขŒํ‘œ ๋ณ€์ˆ˜.
  • amount: ์ˆ˜๋Ÿ‰์„ ๋‚˜ํƒ€๋‚ด๋Š” ์ •์ˆ˜, ์˜ˆ) 10. (์˜ต์…˜)

์„ค๋ช…:

์‹œ๋ฆฌ์–ผ / ์ด๋ฆ„์„ ํ”Œ๋ ˆ์ด์–ด์˜ ํ•ด๋‹น x, y, z ์˜คํ”„์…‹์œผ๋กœ ์ด๋™ ์‹œํ‚ค์‹ญ์‹œ์˜ค. ์ง€์ •๋œ ๊ฒƒ์ด ์—†๊ฑฐ๋‚˜ -1์ด๋ฉด ์ „์ฒด ์Šคํƒ์ด ์˜ฎ๊ฒจ์ง๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

MoveItemOffset("trashitem", 0, 1, 0, -1)  

MoveType

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void MoveType(Int32, System.Object, System.Object, Int32, Int32, Int32, Int32, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • id: ์•„์ดํ…œID/๊ทธ๋ž˜ํ”ฝ ์˜ˆ์‹œ) 0x3db .
  • sourcecontainer: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • destinationcontainer: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • x: X ์ขŒํ‘œ. (์˜ต์…˜)
  • y: Y ์ขŒํ‘œ. (์˜ต์…˜)
  • z: Z ์ขŒํ‘œ. (์˜ต์…˜)
  • hue: ์•„์ดํƒฌ ์ƒ‰์กฐ ๋˜๋Š” ๋ชจ๋“  ๊ฐ’์— -1. (์˜ต์…˜)
  • amount: ์ˆ˜๋Ÿ‰์„ ๋‚˜ํƒ€๋‚ด๋Š” ์ •์ˆ˜, ์˜ˆ) 10. (์˜ต์…˜)

์„ค๋ช…:

์†Œ์Šค์—์„œ ๋Œ€์ƒ์œผ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

#To move a type to another container...

MoveType(0x170f, "backpack", "bank")

#Destination can be the ground by specifying destination container to -1 and specifying the coordinates...

MoveType(0x170f, "backpack", -1, 1928, 2526, 0)

#Optional parameters exist for Hue and Amount, to move 10 maximum with the a Hue of 50...
MoveType(0x170f, "backpack", "bank", -1, -1, 0, 50, 10)  

MoveTypeOffset

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean MoveTypeOffset(Int32, System.Object, Int32, Int32, Int32, Int32, Int32, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • id: ์•„์ดํ…œID/๊ทธ๋ž˜ํ”ฝ ์˜ˆ์‹œ) 0x3db .
  • findlocation: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • xoffset: X ์ขŒํ‘œ ๋ณ€์ˆ˜.
  • yoffset: Y ์ขŒํ‘œ ๋ณ€์ˆ˜.
  • zoffset: Z ์ขŒํ‘œ ๋ณ€์ˆ˜.
  • amount: ์ˆ˜๋Ÿ‰์„ ๋‚˜ํƒ€๋‚ด๋Š” ์ •์ˆ˜, ์˜ˆ) 10. (์˜ต์…˜)
  • hue: ์•„์ดํƒฌ ์ƒ‰์กฐ ๋˜๋Š” ๋ชจ๋“  ๊ฐ’์— -1. (์˜ต์…˜)
  • range: ๊ฑฐ๋ฆฌ. (์˜ต์…˜)

์„ค๋ช…:

๋Œ€์ƒ์„ ์ง€์ •๋œ ์†Œ์Šค ์ปจํ…Œ์ด๋„ˆ์—์„œ ํ”Œ๋ ˆ์ด์–ด์˜ ํ•ด๋‹น x, y, z ์˜คํ”„์…‹์œผ๋กœ ์ด๋™ ์‹œํ‚ค์‹ญ์‹œ์˜ค. ์ง€์ •๋œ ๊ฒƒ์ด ์—†๊ฑฐ๋‚˜ -1์ด๋ฉด ์ „์ฒด ์Šคํƒ์ด ์˜ฎ๊ฒจ์ง๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

MoveTypeOffset(0xf0e, "backpack", 0, 1, 0, -1)  

Murderer

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Murderer(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ์‚ด์ธ์ž์ธ ๊ฒฝ์šฐ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Criminal("mount"):  

Name

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

System.String Name(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋Œ€์ƒ์˜ ์ด๋ฆ„์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Name("self") == "Shmoo":  

Paralyzed

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Paralyzed(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ๋งˆ๋น„ ๋œ ๊ฒฝ์šฐ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Paralyzed("self"):  

Poisoned

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean Poisoned(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ์ค‘๋… ๋œ ๊ฒฝ์šฐ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Poisoned("self"):  

Rehue

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void Rehue(System.Object, Int32)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.
  • hue: ์•„์ดํƒฌ ์ƒ‰์กฐ ๋˜๋Š” ๋ชจ๋“  ๊ฐ’์— -1.

์„ค๋ช…:

์ƒ‰์กฐ ๊ฐ’์œผ๋กœ ์•„์ดํ…œ / ๋Œ€์ƒ์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค. 0์ด๋ฉด ์ œ๊ฑฐ๋ฉ๋‹ˆ๋‹ค. (์‹คํ—˜)

์˜ˆ์‹œ:

Rehue("mount", 1176)  

RemoveFriend

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void RemoveFriend(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

์นœ๊ตฌ ๋ชฉ๋ก์—์„œ ๋Œ€์ƒ์„ ์ œ๊ฑฐํ•˜๊ณ  ์‹œ๋ฆฌ์–ผ / ์ด๋ฆ„์„ ์ œ๊ณตํ•˜์ง€ ์•Š์œผ๋ฉด ๋Œ€์ƒ ์ปค์„œ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

RemoveFriend()  

SpecialMoveExists

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean SpecialMoveExists(System.String)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • name: ํŠน์ˆ˜๊ธฐ ์ด๋ฆ„.

์„ค๋ช…:

ํŠน์ • ํŠน๋ณ„ ์ด๋™ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if SpecialMoveExists("Death Strike"):  

Stam

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Stam(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ null ์ธ ๊ฒฝ์šฐ ์ง€์ •๋œ ๋Œ€์ƒ์˜ ์ฒด๋ ฅ ํ”Œ๋ ˆ์ด์–ด์—์„œ ๋Œ๋ ค์ค๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

if Stam("self") < 25:  

Str

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Str()

์„ค๋ช…:

ํ”Œ๋ ˆ์ด์–ด์˜ ํž˜์„ ๋Œ๋ ค์ค๋‹ˆ๋‹ค

์˜ˆ์‹œ:

if Str() < 100:  

TithingPoints

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 TithingPoints()

์„ค๋ช…:

ํ˜„์žฌ ํ”Œ๋ ˆ์ด์–ด์˜ ์‹ญ์ผ์กฐ ํฌ์ธํŠธ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if TithingPoints() < 1000:  

UseLayer

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean UseLayer(System.Object, System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • layer: "ํ•œ์†" ๋˜๋Š” "๋ถ€์ " ๋“ฑ๊ณผ ๊ฐ™์€ ๋ ˆ์ด์–ด๋ฅผ ๋‚˜ํƒœ๋‹ˆ๋Š” ๋ฌธ์ž์—ด.
  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

**์ง€์ •๋œ ๋ ˆ์ด์–ด์˜ ๊ฐœ์ฒด๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ๋ชจ๋นŒ์˜ ๊ฒฝ์šฐ ์„ ํƒ์ ์ธ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. **

์˜ˆ์‹œ:

UseLayer("Talisman")  

War

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean War(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ์ „์Ÿ ๋ชจ๋“œ์ธ์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if War("self"):  

Weight

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Weight()

์„ค๋ช…:

์Šคํ…Ÿ์ฐฝ์— ํ˜„์žฌ ๋ฌด๊ฒŒ๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if Weight() > 300:  

X

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 X(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋Œ€์ƒ์— X ์ขŒํ‘œ๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

x = X("self")  

Y

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Y(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋Œ€์ƒ์— Y ์ขŒํ‘œ๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

y = Y("self")  

YellowHits

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean YellowHits(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด.

์„ค๋ช…:

๋Œ€์ƒ์ด ๋…ธ๋ž‘์ƒ‰์ด๋ฉด ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

if YellowHits("self"):  

Z

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Int32 Z(System.Object)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • obj: ์ •์ˆ˜ ๋˜๋Š” 16์ง„์ˆ˜ ํ˜•์‹์˜ ์‹ค์ œ ์‹œ๋ฆฌ์–ผ, ๋˜๋Š” "self"์™€ ๊ฐ™์€ ์ด๋ฆ„ ๋ฌธ์ž์—ด. (์˜ต์…˜)

์„ค๋ช…:

๋Œ€์ƒ์— Z ์ขŒํ‘œ๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. (๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์‹œ๋ฆฌ์–ผ ๋˜๋Š” ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.)

์˜ˆ์‹œ:

y = Y("self")  

ํƒ€์ž…

WandTypes

  • Clumsy
  • Identification
  • Heal
  • Feeblemind
  • Weaken
  • Magic_Arrow
  • Harm
  • Fireball
  • Greater_Heal
  • Lightning
  • Mana_Drain