Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- wait 2 tick
- command "teleport %player% 100014 7.2 100016"
- command /..refje <player>:
- permission: ultima.refje
- trigger:
- clear {player.other.joined::%player%}
- command /..rpg <player>:
- permission: ultima.rpg
- trigger:
- if {player.other.joined::%player%} is not set:
- wait 2 ticks
- command "..firstjoinevent %player%"
- else:
- teleport player to location {player.opt.spawn::%player%}
- command /exc <player> <text>:
- permission: skript.admin
- trigger:
- execute arg 1 command "%arg 2%"
- on chat:
- if {player.opt.chatsendcancel::%player%} is true:
- cancel event
- message "&cError &7>> &c現在メッセージの送信を禁止されています"
- stop
- loop all players:
- {player.opt.chatloadcancel::%loop-player%} is true
- remove loop-player from chat recipients
- command /..mute <player>:
- permission: ultima.mute
- trigger:
- if {player.opt.chatsendcancel::%arg 1%} is not set:
- set {player.opt.chatsendcancel::%arg 1%} to false
- if {player.opt.chatsendcancel::%arg 1%} is false:
- set {player.opt.chatsendcancel::%arg 1%} to true
- message "&3System &7>> &cMuted!" to arg 1
- else if {player.opt.chatsendcancel::%arg 1%} is true:
- set {player.opt.chatsendcancel::%arg 1%} to false
- message "&3System &7>> &aUnmuted!" to arg 1
- every tick:
- loop all players:
- if {player.stat.lti::%loop-player%} is not set:
- set {player.stat.lti::%loop-player%} to 0
- if {player.prm.hp::%loop-player%} is not set:
- set {player.prm.hp::%loop-player%} to 10
- if {player.prm.mp::%loop-player%} is not set:
- set {player.prm.mp::%loop-player%} to 3
- if {player.stat.hp::%loop-player%} is not set:
- set {player.stat.hp::%loop-player%} to 10
- if {player.stat.mp::%loop-player%} is not set:
- set {player.stat.mp::%loop-player%} to 3
- if {player.opt.wsp::%loop-player%} is not set:
- set {player.opt.wsp::%loop-player%} to 100
- if {player.stat.hp::%loop-player%} > {player.prm.hp::%loop-player%}:
- set {player.stat.hp::%loop-player%} to {player.prm.hp::%loop-player%}
- if {player.stat.mp::%loop-player%} > {player.prm.mp::%loop-player%}:
- set {player.stat.mp::%loop-player%} to {player.prm.mp::%loop-player%}
- if {player.prm.level::%loop-player%} is not set:
- set {player.prm.level::%loop-player%} to 1
- if {player.set.lvup::%loop-player%} is not set:
- set {player.set.lvup::%loop-player%} to 10
- if {player.set.lvup::%loop-player%} <= {player.stat.exp::%loop-player%}:
- remove {player.set.lvup::%loop-player%} from {player.stat.exp::%loop-player%}
- add 1 to {player.prm.level::%loop-player%}
- set {_lvupup} to ceil({player.prm.level::%loop-player%}/5)*4+4
- set {player.set.lvup::%loop-player%} to {player.set.lvup::%loop-player%}+{_lvupup}
- set {_getpp} to ceil(3+{player.prm.level::%loop-player%}/30)
- if {_getpp} > 100:
- set {_getpp} to 100
- add {_getpp} to {player.stat.pp::%loop-player%}
- add 1 to {player.stat.sp::%loop-player%}
- message "&c&l* &e&lLEVEL UP: &6&l%{player.prm.level::%loop-player%}% &c&l*" to loop-player
- message "&bGet: &6%{_getpp}%&bPP" to loop-player
- message "&aGet: &61&aSP" to loop-player
- message "&7Next LevelUp: &6%{player.set.lvup::%loop-player%}%&7EXP" to loop-player
- command /help-u [<text>]:
- aliases: /h
- trigger:
- if arg 1 is not set:
- message "&7&l=== &e&lUltima Help &7&l==="
- message "&2/h stat &7>> &6ステータスについて"
- if arg 1 is "stat":
- message "&7&l=== &a&lステータスについて &7&l==="
- message "&4PP &7>> &4ParametersPoint(成長点) &7... &4STR,VIT,AGI,INT,LUCに振り分け可能なポイントです。"
- message ""
- message "&bHP &7>> &bHealthPoint(体力量) &7... &bダメージによって減少し、0になると死亡します。"
- message "&1PP振り分け不可 &7計算式 &n(STR^0.8*VIT^0.8)/1.3+10 (小数点以下切り捨て)"
- message "&aMP &7>> &aMagicPoint(魔力量) &7... &aスキルの行使に使用します。マイナスになるとダメージを受け始めます。"
- message "&1PP振り分け不可 &7計算式 &n(VIT^0.8*INT^0.8)/1.6+3 (小数点以下切り捨て)"
- message "&eAVO &7>> &eAvoidance(回避) &7... &e相手からの攻撃の回避率(攻撃失敗させる)に影響します。"
- message "&1PP振り分け不可 &7計算式 &n(LUC^0.8*AGI^0.8)/1.9+3 (小数点以下切り捨て)"
- message ""
- message "&cSTR &7>> &cStrength(攻撃力) &7... &c相手への物理攻撃ダメージに影響します。"
- message "&5PP振り分け可能 &7HPに影響"
- message "&dVIT &7>> &dVitality(生命力) &7... &d回復スキルの効果量などに影響します。"
- message "&5PP振り分け可能 &7HPとMPに影響"
- message "&6AGI &7>> &6AGI(敏捷性) &7... &6移動速度などに影響します。"
- message "&5PP振り分け可能 &7AVOに影響"
- message "&9INT &7>> &9Intelligence(知力) &7... &9相手への魔法攻撃ダメージに影響します。"
- message "&5PP振り分け可能 &7MPに影響"
- message "&2LUC &7>> &2Luck(幸運) &7... &2クリティカル成功率などに影響します。"
- message "&5PP振り分け可能 &7AVOに影響"
- command /nowpp:
- trigger:
- message "&b残りPP&7:&6%{player.stat.pp::%player%}%"
- command /..nowpp [<player>]:
- permission: ultima.nowpp
- trigger:
- set {_p} to arg 1
- if arg 1 is not set:
- set {_p} to player
- message "&b残りPP&7:&6%{player.stat.pp::%{_p}%}%" to {_p}
- command /nowsp:
- trigger:
- message "&a残りSP&7:&6%{player.stat.sp::%player%}%"
- command /..nowsp [<player>]:
- permission: ultima.nowpp
- trigger:
- set {_p} to arg 1
- if arg 1 is not set:
- set {_p} to player
- message "&a残りSP&7:&6%{player.stat.sp::%{_p}%}%" to {_p}
- command /..firstjoinevent <player>:
- permission: ultima.firstjoinevent
- trigger:
- clear arg 1's inventory
- wait 5 ticks
- command "teleport %arg 1% 100033 108.2 100030"
- command "spawnpoint %arg 1% 100000 102 99991"
- set gamemode of arg 1 to adventure
- set {player.opt.chatloadcancel::%arg 1%} to true
- set {player.opt.chatsendcancel::%arg 1%} to true
- loop 40 times:
- message "" to arg 1
- wait a tick
- wait 2 second
- message "&7>> &cあなたが、新しい来訪者ね?" to arg 1
- wait 3 second
- message "&7>> &c歓迎するわ――" to arg 1
- wait 3 second
- message "&7>> &cようこそ &4""Ultima"" &cへ" to arg 1
- wait 5 tick
- set gamemode of arg 1 to spectator
- wait 10 tick
- set {_y} to 108
- set {_y!} to 0.6
- command "teleport %arg 1% ~ ~ ~ 90 0"
- loop 30 times:
- remove 0.02 from {_y!}
- add {_y!} to {_y}
- command "teleport %arg 1% 100033 %{_y}% 100030"
- wait a tick
- set {player.opt.chatloadcancel::%arg 1%} to false
- set {player.opt.chatsendcancel::%arg 1%} to false
- loop 45 times:
- command "teleport %arg 1% 100033 %{_y}% 100030"
- wait a tick
- command "teleport %arg 1% 100000 102 99991 ~ ~"
- set gamemode of arg 1 to adventure
- clear {player.set.next::%arg 1%}
- command "..tutorial %arg 1% 1"
- command /..tutorial <player> <number> [<number>]:
- permission: ultima.tutorial
- trigger:
- if arg 2 is 1:
- message "&e案内人 &7>>" to arg 1
- message "&7>> &aこんにちは、%arg 1%&aさん" to arg 1
- message "&7>> &aこれから事前設定とチュートリアルを開始します" to arg 1
- message "&7>> &aこのチュートリアルは基本的に&6/next&aで進めます" to arg 1
- message "&7>> &aでは、早速&6/next&aしてみましょう!" to arg 1
- set {player.set.next::%arg 1%} to "tutorial.1"
- if arg 2 is 2:
- message "&e案内人 &7>>" to arg 1
- message "&7>> &aそんな感じですね!" to arg 1
- message "&7>> &aではまず事前設定から始めます" to arg 1
- message "&7>> &b・ストーリーパートを見ますか?" to arg 1
- message "&7>> &6/next 0 &eで見る &6/next 1 &eで見ない" to arg 1
- message "&7>> &aストーリーパートでは物語が綴られていきます" to arg 1
- message "&7>> &a見なくてもゲームの進行には影響ありません" to arg 1
- message "&7>> &aストーリーパートは数十秒から数分かかります" to arg 1
- set {player.set.next::%arg 1%} to "tutorial.2"
- if arg 2 is 3:
- message "&e案内人 &7>>" to arg 1
- if arg 3 is 0:
- set {player.opt.playstory::%arg 1%} to true
- message "&7>> &b「見る」に設定しました!" to arg 1
- if arg 3 is 1:
- set {player.opt.playstory::%arg 1%} to false
- message "&7>> &b「見ない」に設定しました!" to arg 1
- message "&7>> &aこの設定は後から変更できます!" to arg 1
- message "&7>> &aさて、次はいよいよキャラクリエイトです!" to arg 1
- message "&7>> &6/next &aでまずはパラメータの割り振りから!" to arg 1
- set {player.set.next::%arg 1%} to "tutorial.3"
- if arg 2 is 4:
- command "..statusreset %arg 1%"
- message "&e案内人 &7>>" to arg 1
- message "&7>> &cSTR&a, &dVIT&a, &6AGI&a, &9INT&a, &2LUC &aに割り振ることができます" to arg 1
- message "&7>> &cSTR &aは攻撃力、&dVIT &aは生命力、 &6AGI &aは敏捷性" to arg 1
- message "&7>> &9INT &aは知力、そして &2LUC &aは幸運です" to arg 1
- message "&7>> &a詳しくは &6/h stat &aで説明されています" to arg 1
- message "&7>> &aまた、割り振り画面は &6/alm &aで再表示ができます" to arg 1
- message "&7>> &aステータスの確認は割り振り画面か &6/status &aから" to arg 1
- message "&7>> &a一通り理解してパラメータ割り振りを終えたら &6/next &aで次へ進みましょう!" to arg 1
- set {player.set.next::%arg 1%} to "tutorial.4"
- if arg 2 is 5:
- message "&e案内人 &7>>" to arg 1
- message "&7>> &a次はスキルを選択します!" to arg 1
- message "&7>> &aスキルは、&c《戦闘系スキル》&e《探索系スキル》&b《生産系スキル》&aの三つに分けることが出来ます" to arg 1
- message "&7>> &c戦闘系スキル&aは、攻撃や回復など戦闘で使うスキル" to arg 1
- message "&7>> &e探索系スキル&aは、探索をするのに使うスキル" to arg 1
- message "&7>> &b生産系スキル&aは、武具やアイテムを作るのに使うスキルです" to arg 1
- message "&7>> &6/next &aで次へ進み、スキルを選択しましょう!" to arg 1
- set {player.set.next::%arg 1%} to "tutorial.5"
- if arg 2 is 6:
- message "&e案内人 &7>>" to arg 1
- command /next [<number>]:
- trigger:
- if {player.set.next::%player%} is "tutorial.1":
- command "..tutorial %player% 2"
- else if {player.set.next::%player%} is "tutorial.2":
- if arg 1 is 0:
- command "..tutorial %player% 3 0"
- else if arg 1 is 1:
- command "..tutorial %player% 3 1"
- else:
- message "&7>> &c/next の後に数字を指定してください"
- else if {player.set.next::%player%} is "tutorial.3":
- command "..tutorial %player% 4"
- else if {player.set.next::%player%} is "tutorial.4":
- command "..tutorial %player% 5"
- else:
- message "&7>> &c今は /next を使うべき場面ではありません!"
- command /status:
- trigger:
- message ""
- message "&3&l&o[ S T A T U S ]"
- message "&6&lLevel&7: &6%{player.prm.level::%player%}% &a&lEXP&7: &a%{player.stat.exp::%player%}%&7/&a%{player.set.lvup::%player%}% &e&lMoney&7: &e%{player.stat.lti::%player%}%&e(Lti)"
- message "&b&lHP&7:&b%{player.stat.hp::%player%}%&7/&b%{player.prm.hp::%player%}%"
- message "&a&lMP&7:&a%{player.stat.mp::%player%}%&7/&a%{player.prm.mp::%player%}%"
- message "&e&lAVO&7:&e%{player.prm.avo::%player%}% &c&lSTR&7:&c%{player.prm.str::%player%}% &d&lVIT&7:&d%{player.prm.vit::%player%}%"
- message "&6&lAGI&7:&6%{player.prm.agi::%player%}% &9&lINT&7:&9%{player.prm.int::%player%}% &2&lLUC&7:&2%{player.prm.luc::%player%}%"
- message ""
- command /..status [<player>]:
- permission: ultima.status
- trigger:
- set {_p} to arg 1
- if arg 1 is not set:
- set {_p} to player
- message "" to {_p}
- message "&3&l&o[ S T A T U S ]" to {_p}
- message "&6&lLevel&7: &6%{player.prm.level::%{_p}%}% &a&lEXP&7: &a%{player.stat.exp::%{_p}%}%&7/&a%{player.set.lvup::%{_p}%}% &e&lMoney&7: &e%{player.stat.lti::%{_p}%}%&e(Lti)" to {_p}
- message "&b&lHP&7:&b%{player.stat.hp::%{_p}%}%&7/&b%{player.prm.hp::%{_p}%}%" to {_p}
- message "&a&lMP&7:&a%{player.stat.mp::%{_p}%}%&7/&a%{player.prm.mp::%{_p}%}%" to {_p}
- message "&e&lAVO&7:&e%{player.prm.avo::%{_p}%}% &c&lSTR&7:&c%{player.prm.str::%{_p}%}% &d&lVIT&7:&d%{player.prm.vit::%{_p}%}%" to {_p}
- message "&6&lAGI&7:&6%{player.prm.agi::%{_p}%}% &9&lINT&7:&9%{player.prm.int::%{_p}%}% &2&lLUC&7:&2%{player.prm.luc::%{_p}%}%" to {_p}
- message "" to {_p}
- command /..statusreset [<player>]:
- permission: ultima.statusreset
- trigger:
- set {_p} to arg 1
- if arg 1 is not set:
- set {_p} to player
- set {player.prm.level::%{_p}%} to 1
- set {player.prm.hp::%{_p}%} to 10
- set {player.prm.mp::%{_p}%} to 3
- set {player.prm.avo::%{_p}%} to 3
- set {player.prm.str::%{_p}%} to 1
- set {player.prm.vit::%{_p}%} to 1
- set {player.prm.agi::%{_p}%} to 1
- set {player.prm.int::%{_p}%} to 1
- set {player.prm.luc::%{_p}%} to 1
- set {player.stat.pp::%{_p}%} to 10
- set {player.stat.exp::%{_p}%} to 0
- set {player.stat.sp::%{_p}%} to 10
- set {player.stat.lti::%{_p}%} to 0
- set {player.set.lvup::%{_p}%} to 10
- command "/alm %{_p}%"
- command /allotment [<player>]:
- aliases: /alm
- trigger:
- set {_p} to arg 1
- if arg 1 is not set:
- set {_p} to player
- wait a tick
- open chest with 2 rows named "&6&lStatus" to {_p}
- wait a tick
- format slot 2 of {_p} with wool:14 named "&c&lSTR" with lore "&cStrength / 攻撃力 &7にPPを割り振る" to run "..allotment str %{_p}%"
- format slot 3 of {_p} with wool:2 named "&d&lVIT" with lore "&dVitality / 生命力 &7にPPを割り振る" to run "..allotment vit %{_p}%"
- format slot 4 of {_p} with wool:1 named "&6&lAGI" with lore "&6Agility / 俊敏性 &7にPPを割り振る" to run "..allotment agi %{_p}%"
- format slot 5 of {_p} with wool:9 named "&9&lINT" with lore "&9IntelliGence / 知力 &7にPPを割り振る" to run "..allotment int %{_p}%"
- format slot 6 of {_p} with wool:13 named "&2&lLUC" with lore "&2Luck / 幸運 &7にPPを割り振る" to run "..allotment luc %{_p}%"
- format slot 9 of {_p} with diamond named "&b&l残りPP量を確認" to run "..nowpp %{_p}%"
- format slot 12 of {_p} with wool:3 named "&b&lHP" with lore "&bHealthPoint / 体力||&7(STR^0.8*VIT^0.8)/2+10" to be unstealable
- format slot 13 of {_p} with wool:5 named "&a&lMP" with lore "&aMagicPoint / 魔力||&7(LUC^0.8*INT^0.8)/2+3" to be unstealable
- format slot 14 of {_p} with wool:4 named "&e&lAVO" with lore "&bAvoidance / 回避||&7(INT^0.8*AGI^0.8)/2+3" to be unstealable
- format slot 17 of {_p} with nether_star named "&3&lステータスを表示" to run "..status %{_p}%"
- command /skill [<player>] [<number>]:
- trigger:
- set {_p} to arg 1
- if arg 1 is not set:
- set {_p} to player
- if arg 2 is not set:
- wait 2 tick
- open chest with 3 rows named "&aSkill" to {_p}
- wait a tick
- format slot 0 of {_p} with arrow named "&7&l---" to be unstealable
- format slot 9 of {_p} with emerald named "&a&l残りSP量を確認" to run "..nowsp %{_p}%"
- format slot 18 of {_p} with arrow named "&7&l---" to be unstealable
- format slot 1 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 10 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 19 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 12 of {_p} with wool:14 named "&c戦闘系スキル" to close then run "skill %{_p}% 100"
- format slot 14 of {_p} with wool:4 named "&e探索系スキル" to close then run "skill %{_p}% 200"
- format slot 16 of {_p} with wool:3 named "&b生産系スキル" to close then run "skill %{_p}% 300"
- if arg 2 is 100:
- wait 2 tick
- open chest with 3 rows named "&cSkill" to {_p}
- wait a tick
- format slot 0 of {_p} with arrow named "&7&l---" to be unstealable
- format slot 9 of {_p} with emerald named "&a&l残りSP量を確認" to run "..nowsp %{_p}%"
- format slot 18 of {_p} with arrow named "&7&l---" to be unstealable
- format slot 1 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 10 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 19 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 12 of {_p} with wooden_sword named "&6&l剣&7カテゴリ" to close then run "skill %{_p}% 110"
- format slot 13 of {_p} with wooden_axe named "&6&l斧&7カテゴリ" to close then run "skill %{_p}% 120"
- format slot 14 of {_p} with wooden_hoe named "&6&l鎌&7カテゴリ" to close then run "skill %{_p}% 130"
- format slot 15 of {_p} with bow named "&6&l弓&7カテゴリ" to close then run "skill %{_p}% 140"
- format slot 16 of {_p} with book named "&6&l術&7カテゴリ" to close then run "skill %{_p}% 150"
- if arg 2 is 150:
- wait 2 tick
- open chest with 3 rows named "&6Skill" to {_p}
- wait a tick
- format slot 0 of {_p} with arrow named "&7&l---" to be unstealable
- format slot 9 of {_p} with emerald named "&a&l残りSP量を確認" to run "..nowsp %{_p}%"
- format slot 18 of {_p} with arrow named "&7&l---" to be unstealable
- format slot 1 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 10 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 19 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 12 of {_p} with wool:15 named "&9&l黒魔法&7サブカテゴリ" to close then run "skill %{_p}% 151"
- format slot 16 of {_p} with wool:0 named "&9&l白魔法&7サブカテゴリ" to close then run "skill %{_p}% 161"
- if arg 2 is 151:
- wait 2 tick
- open chest with 3 rows named "&9Skill" to {_p}
- wait a tick
- format slot 0 of {_p} with arrow named "&7&l---" to be unstealable
- format slot 9 of {_p} with emerald named "&a&l残りSP量を確認" to run "..nowsp %{_p}%"
- format slot 18 of {_p} with arrow named "&7&l---" to be unstealable
- format slot 1 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 10 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- format slot 19 of {_p} with stained_glass_pane:7 named "&r" to be unstealable
- if {player.skill.lock.15001::%{_p}%} is 2:
- format slot 2 of {_p} with wool:15 named "&a&l15001 &7&l- &8&l黒の技術" with lore "" to close then run "..skillget %{_p}% 15001"
- else if {player.skill.lock.15001::%{_p}%} is 1:
- format slot 2 of {_p} with wool:15 named "&c&l15001 &7&l- &8&l黒の技術" to close then run "..skillget %{_p}% 15001"
- else:
- true is true
- command /..allotment <text> [<player>]:
- permission: ultima.allotment
- trigger:
- set {_p} to arg 2
- if arg 2 is not set:
- set {_p} to player
- if {player.stat.pp::%{_p}%} < 1:
- message "&3[STATUS] &cPPが足りません" to {_p}
- stop
- if arg 1 is "str":
- remove 1 from {player.stat.pp::%{_p}%}
- add 1 to {player.prm.str::%{_p}%}
- message "&3[STATUS] &c攻撃力&7に1ポイント割り振りました&c(計%{player.prm.str::%{_p}%}%ポイント)" to {_p}
- if arg 1 is "vit":
- remove 1 from {player.stat.pp::%{_p}%}
- add 1 to {player.prm.vit::%{_p}%}
- message "&3[STATUS] &d生命力&7に1ポイント割り振りました&d(計%{player.prm.vit::%{_p}%}%ポイント)" to {_p}
- if arg 1 is "agi":
- remove 1 from {player.stat.pp::%{_p}%}
- add 1 to {player.prm.agi::%{_p}%}
- message "&3[STATUS] &6俊敏性&7に1ポイント割り振りました&6(計%{player.prm.agi::%{_p}%}%ポイント)" to {_p}
- if arg 1 is "int":
- remove 1 from {player.stat.pp::%{_p}%}
- add 1 to {player.prm.int::%{_p}%}
- message "&3[STATUS] &9知力&7に1ポイント割り振りました&9(計%{player.prm.int::%{_p}%}%ポイント)" to {_p}
- if arg 1 is "luc":
- remove 1 from {player.stat.pp::%{_p}%}
- add 1 to {player.prm.luc::%{_p}%}
- message "&3[STATUS] &2幸運&7に1ポイント割り振りました&2(計%{player.prm.luc::%{_p}%}%ポイント)" to {_p}
- command "..calc3stat %{_p}%"
- command /..calc3stat [<player>]:
- permission: ultima.calc3stat
- trigger:
- set {_p} to arg 1
- if arg 1 is not set:
- set {_p} to player
- set {_str} to {player.prm.str::%{_p}%}^0.8
- set {_vit} to {player.prm.vit::%{_p}%}^0.8
- set {_agi} to {player.prm.agi::%{_p}%}^0.8
- set {_int} to {player.prm.int::%{_p}%}^0.8
- set {_luc} to {player.prm.luc::%{_p}%}^0.8
- set {player.prm.hp::%{_p}%} to {_str}*{_vit}
- set {player.prm.hp::%{_p}%} to ceil({player.prm.hp::%{_p}%}/1.3)
- add 10 to {player.prm.hp::%{_p}%}
- set {player.prm.mp::%{_p}%} to {_vit}*{_int}
- set {player.prm.mp::%{_p}%} to ceil({player.prm.mp::%{_p}%}/1.6)
- add 3 to {player.prm.mp::%{_p}%}
- set {player.prm.avo::%{_p}%} to {_luc}*{_agi}
- set {player.prm.avo::%{_p}%} to ceil({player.prm.avo::%{_p}%}/1.9)
- add 3 to {player.prm.avo::%{_p}%}
- set {player.set.walkspeed::%{_p}%} to 0.2+{player.prm.agi::%{_p}%}*0.03
- set {_ws} to {player.set.walkspeed::%{_p}%}*({player.opt.wsp::%{_p}%}/100)
- command "/..walkspeed %{_p}% %{_ws}%"
- command /..giveexp <player> <number>:
- permission: ultima.giveexp
- trigger:
- message "&aGet: &6%arg 2%&aEXP" to arg 1
- add arg 2 to {player.stat.exp::%arg 1%}
- command /..givelti <player> <number>:
- permission: ultima.giveexp
- trigger:
- message "&eGet: &6%arg 2%&eLti" to arg 1
- add arg 2 to {player.stat.lti::%arg 1%}
- command /..walkspeed <player> <number>:
- permission: ultima.walkspeed
- trigger:
- set arg 1's walk speed to arg 2
Advertisement
Add Comment
Please, Sign In to add comment