Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.21 KB | None | 0 0
  1. //****************************************************************************
  2. // SPHERE by : Menasoft �1997-2015
  3. // www.sphereserver.net
  4. // All SPHERE script files and formats are copyright Menasoft & Partners.
  5. // This file may be freely edited for personal use, but may not be distributed
  6. // in whole or in part, in any format without express written permission from
  7. // Menasoft & Partners. All donations and contributions
  8. // become the property of Menasoft & Partners.
  9. //****************************************************************************
  10. // FILE LAST UPDATED: Friday, Nov 13, 2015
  11. //
  12. VERSION=0.56c
  13.  
  14.  
  15. [ADVANCE]
  16. // Generic advance rates for stats
  17. STR=10000,4000,600
  18. INT=10000,4000,600
  19. DEX=10000,4000,600
  20.  
  21.  
  22. [COMMENT SKILL x]
  23. ADV_RATE=10.0,200.0,800.0
  24. // 10.0 successes at 0% to gain .1,
  25. // 800.0 successes at 100% to gain .1,
  26. // 200.0 successes at 50% to gain .1
  27. GAINRADIUS=100.0
  28. // Skillgain will only be calculated if the current skill is less than the
  29. // actual difficulty + GAINRADIUS. Used to prohibit skillgain by
  30. // performing way too easy tasks. Set to 100.0 for original behaviour.
  31. VALUES=0,100
  32. // The amount of value an item created with the skill gets at skill levels.
  33. EFFECT=0,100
  34. // Healing: Effect of bandages
  35. // Crafting Skills: Percentage of resources lost on failure.
  36. STAT_STR=80
  37. // You will tend toward these stat vals if you use this skill a lot.
  38. BONUS_STATS=10
  39. // What percent of the skill success is based on stat levels. = 10%.
  40. BONUS_STR=80
  41. // % of each stat toward success at skill.
  42.  
  43. [SKILL 0]
  44. DEFNAME=SKILL_ALCHEMY
  45. KEY=Alchemy
  46. TITLE=Alchemist
  47. FLAGS=SKF_CRAFT
  48. DELAY=1.2 //Old value=3.0,1.0 // per stroke.
  49. ADV_RATE=10.0,200.0,800.0
  50. VALUES=1,20,100
  51.  
  52. BONUS_STATS=10
  53. BONUS_STR=0
  54. BONUS_DEX=20
  55. BONUS_INT=80
  56.  
  57. STAT_STR=5
  58. STAT_INT=75
  59. STAT_DEX=40
  60.  
  61. ON=@Fail
  62. SRC.SYSMESSAGE You toss the failed mixture from the mortar, unable to create a potion from it.
  63.  
  64. ON=@Abort
  65. SRC.SYSMESSAGE You fail to complete the potion.
  66.  
  67. [SKILL 1]
  68. DEFNAME=SKILL_ANATOMY
  69. KEY=Anatomy
  70. TITLE=Biologist
  71. PROMPT_MSG=Whom shall I examine?
  72.  
  73. DELAY=3.0,1.0
  74. ADV_RATE=2.5,50.0,200.0
  75.  
  76. BONUS_STATS=50
  77. BONUS_STR=0
  78. BONUS_DEX=0
  79. BONUS_INT=100
  80.  
  81. STAT_STR=15
  82. STAT_INT=70
  83. STAT_DEX=15
  84.  
  85. ON=@Fail
  86. SRC.SYSMESSAGE You can't think of anything about this creature
  87.  
  88. ON=@Abort
  89. SRC.SYSMESSAGE You fail to examine the creature fully.
  90.  
  91. [SKILL 2]
  92. DEFNAME=SKILL_ANIMAL_LORE
  93. KEY=AnimalLore
  94. TITLE=Naturalist
  95. PROMPT_MSG=What animal should I look at?
  96. DELAY=3.0,1.0
  97. ADV_RATE=2.5,50.0,200.0
  98.  
  99. STAT_STR=0
  100. STAT_INT=70
  101. STAT_DEX=0
  102. BONUS_STR=0
  103. BONUS_DEX=0
  104. BONUS_INT=100
  105. BONUS_STATS=50
  106.  
  107. ON=@Fail
  108. SRC.SYSMESSAGE You can't think of anything off hand
  109.  
  110. ON=@Abort
  111. SRC.SYSMESSAGE You stop trying to understand the creature.
  112.  
  113. [SKILL 3]
  114. DEFNAME=SKILL_APPRAISE
  115. KEY=ItemID
  116. TITLE=Merchant
  117. PROMPT_MSG=What do you wish to appraise and identify?
  118. DELAY=1.0
  119. ADV_RATE=2.5,50.0,200.0
  120. STAT_STR=0
  121. STAT_INT=85
  122. STAT_DEX=0
  123. BONUS_STR=0
  124. BONUS_DEX=0
  125. BONUS_INT=100
  126. BONUS_STATS=25
  127.  
  128. ON=@Fail
  129. SRC.SYSMESSAGE You can't think of anything off hand
  130.  
  131. ON=@Abort
  132. SRC.SYSMESSAGE You stop trying to appraise the item.
  133.  
  134. ON=@PreStart
  135. IF (<SRC.TARG.TAG0.MAGICWEAR>) && (<SRC.3> >= 100.0)
  136. REF1=<SRC.TARG.UID>
  137. SRC.f_name_magic_item, <REF1>
  138. REF1.NAME +<eval <ref1.tag.skillbonus>/10> <STREAT <REF1.NAME>> of <REF1.TAG0.SKILLNAME>
  139. REF1.TAG0.MAGICWEAR
  140. ENDIF
  141.  
  142. [SKILL 4]
  143. DEFNAME=SKILL_ARMSLORE
  144. KEY=ArmsLore
  145. TITLE=Weapon Master
  146. PROMPT_MSG=What would you like to evaluate?
  147. DELAY=1.0
  148. STAT_STR=10
  149. STAT_INT=50
  150. STAT_DEX=15
  151. BONUS_STR=33
  152. BONUS_DEX=33
  153. BONUS_INT=34
  154. BONUS_STATS=25
  155. ADV_RATE=2.5,50.0,200.0
  156.  
  157. ON=@Fail
  158. SRC.SYSMESSAGE You are uncertain about this item
  159.  
  160. ON=@Abort
  161. SRC.SYSMESSAGE You stop trying to evaluate the item.
  162.  
  163. [SKILL 5]
  164. DEFNAME=SKILL_Parrying
  165. KEY=Parrying
  166. TITLE=Duelist
  167. ADV_RATE=10.0,150.0,600.0
  168. EFFECT=0.0,90.0
  169. FLAGS=SKF_FIGHT
  170.  
  171. STAT_STR=75
  172. STAT_INT=15
  173. STAT_DEX=25
  174. BONUS_STR=50
  175. BONUS_DEX=50
  176. BONUS_INT=0
  177. BONUS_STATS=10
  178.  
  179. ON=@UseQuick
  180. IF (<ARGN3>)
  181. SRC.EFFECT 3,i_fx_glow,10,16
  182. ENDIF
  183.  
  184. [SKILL 6]
  185. DEFNAME=SKILL_Begging
  186. KEY=Begging
  187. TITLE=Beggar
  188. PROMPT_MSG=To whom do you wish to grovel?
  189. DELAY=2.0
  190. ADV_RATE=2.5,50.0,200.0
  191. STAT_STR=5
  192. STAT_INT=55
  193. STAT_DEX=25
  194. BONUS_STR=0
  195. BONUS_DEX=50
  196. BONUS_INT=50
  197. BONUS_STATS=10
  198.  
  199. ON=@Abort
  200. SRC.SYSMESSAGE You fail utterly in your attempt to grovel.
  201.  
  202. [SKILL 7]
  203. DEFNAME=SKILL_Blacksmith
  204. KEY=Blacksmithing
  205. TITLE=Blacksmith
  206. FLAGS=SKF_CRAFT
  207. PROMPT_MSG=
  208. DELAY=1.2 //Old value=1.7
  209. STAT_STR=95
  210. STAT_INT=15
  211. STAT_DEX=25
  212. BONUS_STR=75
  213. BONUS_DEX=20
  214. BONUS_INT=5
  215. BONUS_STATS=10
  216. ADV_RATE=2.5,50.0,200.0
  217. VALUES=1,20,100
  218.  
  219. ON=@Fail
  220. SRC.SYSMESSAGE You have failed to make anything
  221.  
  222. ON=@Abort
  223. SRC.SYSMESSAGE You fail to complete the item.
  224.  
  225. [SKILL 8]
  226. DEFNAME=Skill_Bowcraft
  227. KEY=Bowcraft
  228. TITLE=Bowyer
  229. FLAGS=SKF_CRAFT
  230. PROMPT_MSG=
  231. DELAY=1.2 //Old value=1.7
  232. STAT_STR=40
  233. STAT_INT=45
  234. STAT_DEX=70
  235. BONUS_STR=15
  236. BONUS_DEX=70
  237. BONUS_INT=15
  238. BONUS_STATS=20
  239. ADV_RATE=10.0,200.0,800.0
  240. VALUES=1,30,200
  241.  
  242. ON=@Fail
  243. SRC.SYSMESSAGE You fail to create the item
  244.  
  245. ON=@Abort
  246. SRC.SYSMESSAGE You fail to complete the item.
  247.  
  248. [SKILL 9]
  249. DEFNAME=SKILL_PEACEMAKING
  250. KEY=Peacemaking
  251. TITLE=Pacifier
  252. PROMPT_MSG=
  253. DELAY=2.0
  254. STAT_STR=0
  255. STAT_INT=70
  256. STAT_DEX=70
  257. BONUS_STR=0
  258. BONUS_DEX=50
  259. BONUS_INT=50
  260. BONUS_STATS=5
  261. ADV_RATE=2.5,50.0,200.0
  262.  
  263. ON=@Fail
  264. SRC.SYSMESSAGE You attempt to calm everyone, but fail.
  265.  
  266. ON=@Abort
  267. SRC.SYSMESSAGE You fail to complete the song.
  268.  
  269. [SKILL 10]
  270. DEFNAME=Skill_Camping
  271. KEY=Camping
  272. TITLE=Explorer
  273. PROMPT_MSG=
  274. DELAY=6.0
  275. STAT_STR=30
  276. STAT_INT=30
  277. STAT_DEX=30
  278. BONUS_STR=33
  279. BONUS_DEX=33
  280. BONUS_INT=34
  281. BONUS_STATS=50
  282. ADV_RATE=2.5,50.0,200.0
  283.  
  284. ON=@Fail
  285. SRC.SYSMESSAGE You fail to ignite the campfire.
  286.  
  287. ON=@Abort
  288. SRC.SYSMESSAGE You give up trying to light the campfire.
  289.  
  290. [SKILL 11]
  291. DEFNAME=Skill_Carpentry
  292. KEY=Carpentry
  293. TITLE=Carpenter
  294. PROMPT_MSG=
  295. DELAY=1.2 //Old value=3.0
  296. FLAGS=skf_craft
  297. STAT_STR=60
  298. STAT_INT=40
  299. STAT_DEX=30
  300. BONUS_STR=50
  301. BONUS_DEX=30
  302. BONUS_INT=20
  303. BONUS_STATS=25
  304. ADV_RATE=2.5,50.0,200.0
  305. VALUES=1,20,80
  306.  
  307. ON=@Fail
  308. SRC.SYSMESSAGE You fail to create the item
  309.  
  310. ON=@Abort
  311. SRC.SYSMESSAGE You fail to complete the item.
  312.  
  313. [SKILL 12]
  314. DEFNAME=SKILL_CARTOGRAPHY
  315. KEY=Cartography
  316. TITLE=Cartographer
  317. FLAGS=skf_craft
  318. PROMPT_MSG=
  319. DELAY=3.0
  320. STAT_STR=15
  321. STAT_INT=70
  322. STAT_DEX=20
  323. BONUS_STR=0
  324. BONUS_DEX=20
  325. BONUS_INT=80
  326. BONUS_STATS=15
  327. ADV_RATE=2.5,50.0,200.0
  328. VALUES=1,20,80
  329.  
  330. ON=@Select
  331. SRC.SYSMESSAGE This skill cannot be used directly.
  332. return 1
  333.  
  334. ON=@Fail
  335. SRC.SYSMESSAGE Thy trembling hand results in an unusable map.
  336.  
  337. ON=@Abort
  338. SRC.SYSMESSAGE You fail to complete the map.
  339.  
  340. [SKILL 13]
  341. DEFNAME=Skill_Cooking
  342. KEY=Cooking
  343. TITLE=Chef
  344. FLAGS=skf_craft
  345. PROMPT_MSG=What would you like to cook?
  346. DELAY=1.2 //Old value=1.5
  347. STAT_STR=25
  348. STAT_INT=45
  349. STAT_DEX=20
  350. BONUS_STR=0
  351. BONUS_DEX=40
  352. BONUS_INT=60
  353. BONUS_STATS=50
  354. ADV_RATE=2.5,50.0,200.0
  355. VALUES=1,20,80
  356.  
  357. ON=@Fail
  358. SRC.SYSMESSAGE You burn the food to a crisp! It's ruined.
  359.  
  360. ON=@Abort
  361. SRC.SYSMESSAGE You stop cooking the food.
  362.  
  363. [SKILL 14]
  364. DEFNAME=Skill_DetectHidden
  365. KEY=DetectingHidden
  366. TITLE=Scout
  367. PROMPT_MSG=
  368. DELAY=3.0,2.0
  369. STAT_STR=15
  370. STAT_INT=60
  371. STAT_DEX=20
  372. BONUS_STR=0
  373. BONUS_DEX=20
  374. BONUS_INT=80
  375. BONUS_STATS=25
  376. ADV_RATE=2.5,50.0,200.0
  377.  
  378. ON=@Fail
  379. SRC.SYSMESSAGE You can see nothing hidden there.
  380.  
  381. ON=@Abort
  382. SRC.SYSMESSAGE You stop looking for anything hidden.
  383.  
  384. [SKILL 15]
  385. DEFNAME=Skill_Enticement
  386. KEY=Enticement
  387. TITLE=Demoralizer
  388. PROMPT_MSG=Whom do you wish to entice?
  389. DELAY=2.0
  390. STAT_STR=15
  391. STAT_INT=70
  392. STAT_DEX=50
  393. BONUS_STR=0
  394. BONUS_DEX=50
  395. BONUS_INT=50
  396. BONUS_STATS=5
  397. ADV_RATE=2.5,50.0,200.0
  398.  
  399. ON=@Fail
  400. SRC.SYSMESSAGE Your music fails to attract anyone.
  401.  
  402. ON=@Abort
  403. SRC.SYSMESSAGE You fail to complete the song.
  404.  
  405. [SKILL 16]
  406. DEFNAME=Skill_EvalInt
  407. KEY=EvaluatingIntel
  408. TITLE=Scholar
  409. PROMPT_MSG=Select char to inspect.
  410. DELAY=1.0
  411. STAT_STR=5
  412. STAT_INT=60
  413. STAT_DEX=10
  414. BONUS_STR=0
  415. BONUS_DEX=0
  416. BONUS_INT=100
  417. BONUS_STATS=50
  418. ADV_RATE=2.5,50.0,200.0
  419.  
  420. ON=@Fail
  421. SRC.SYSMESSAGE You cannot seem to judge the creature correctly.
  422.  
  423. ON=@Abort
  424. SRC.SYSMESSAGE You fail to inspect the creature completely.
  425.  
  426. [SKILL 17]
  427. DEFNAME=Skill_Healing
  428. KEY=Healing
  429. TITLE=Healer
  430. PROMPT_MSG=Who will you use the bandages on?
  431. DELAY=3.0,1.0
  432. EFFECT=2.0,20.0
  433. ADV_RATE=10.0,100.0,250.0
  434. STAT_STR=10
  435. STAT_INT=90
  436. STAT_DEX=10
  437. BONUS_STATS=20
  438. BONUS_STR=0
  439. BONUS_DEX=30
  440. BONUS_INT=70
  441.  
  442. ON=@Fail
  443. SRC.SYSMESSAGE You apply the bandages, but they barely help.
  444.  
  445. ON=@Abort
  446. SRC.SYSMESSAGE You stop applying the bandages.
  447.  
  448. [SKILL 18]
  449. DEFNAME=Skill_Fishing
  450. KEY=Fishing
  451. TITLE=Fisher%s
  452. FLAGS=SKF_GATHER
  453. PROMPT_MSG=What water do you want to fish in?
  454. DELAY=8.0
  455. RANGE=4
  456. STAT_STR=40
  457. STAT_INT=30
  458. STAT_DEX=40
  459. BONUS_STR=10
  460. BONUS_DEX=90
  461. BONUS_INT=0
  462. BONUS_STATS=25
  463. ADV_RATE=2.5,50.0,200.0
  464. VALUES=1,30,200
  465.  
  466. ON=@PreStart
  467. IF (<SRC.FINDLAYER.layer_horse>)
  468. SRC.SYSMESSAGE You can't fish while riding!
  469. return 1
  470. ENDIF
  471.  
  472. ON=@Start
  473. ANIM 12
  474. SERV.NEWITEM i_memory_fishing_splash
  475. NEW.LINK=<UID>
  476. NEW.P=<ACT.P>
  477.  
  478. ON=@Success
  479. ACTARG2=1 // 1 will pack the resource, 0 place it on the ground.
  480.  
  481. ON=@Fail
  482. SRC.SYSMESSAGE You fish a while, but fail to catch anything.
  483.  
  484. ON=@Abort
  485. SRC.SYSMESSAGE You pull your line back in and stop fishing.
  486.  
  487. ON=@Stroke
  488. IF (<SRC.FINDLAYER.layer_horse>)
  489. SRC.SYSMESSAGE You can't fish while riding!
  490. return 1
  491. ENDIF
  492. // Damage for Fishing Poles was never active, I add it here anyway.
  493. //IF ( <SERV.EXPERIMENTAL>&00002000) // EF_DamageTools
  494. // IF (<SRC.FINDLAYER.2.HITS> > 0)
  495. // SRC.FINDLAYER.2.DAMAGE <eval <maxhits>*2>,DAM_PHYSICAL,<SRC>
  496. // ELSE
  497. // SRC.FINDLAYER.2.DESTROY
  498. // ENDIF
  499. //ENDIF
  500.  
  501. [ITEMDEF i_memory_fishing_splash]
  502. ID=i_memory
  503.  
  504. ON=@Create
  505. ATTR=attr_move_never|attr_decay
  506. TIMERD=15
  507. IF (<TIMERD> > <SERV.SKILL.FISHING.DELAY>) // We don't want to fire the splash after the fish success so a check for skill's delay is needed.
  508. TIMERD=<eval <SERV.SKILL.FISHING.DELAY>/2>
  509. ENDIF
  510.  
  511. ON=@Timer
  512. IF (<LINK.ACTION> == skill_fishing) // Check out if cont is still fishing, otherwise we don't want the effect.
  513. EFFECT 2,0352D,4,16
  514. SOUND 0364
  515. ENDIF
  516.  
  517. [SKILL 19]
  518. DEFNAME=Skill_Forensics
  519. KEY=Forensics
  520. TITLE=Detective
  521. PROMPT_MSG=What corpse would you like to examine?
  522. DELAY=1.0
  523. STAT_STR=10
  524. STAT_INT=60
  525. STAT_DEX=25
  526. BONUS_STR=0
  527. BONUS_DEX=0
  528. BONUS_INT=100
  529. BONUS_STATS=25
  530. ADV_RATE=2.5,50.0,200.0
  531.  
  532. ON=@Fail
  533. SRC.SYSMESSAGE You can tell nothing about the corpse.
  534.  
  535. ON=@Abort
  536. SRC.SYSMESSAGE You decide you'd rather not look at that.
  537.  
  538. [SKILL 20]
  539. DEFNAME=Skill_Herding
  540. KEY=Herding
  541. TITLE=Shepherd
  542. PROMPT_MSG=
  543. DELAY=2.0
  544. STAT_STR=50
  545. STAT_INT=50
  546. STAT_DEX=50
  547. BONUS_STR=25
  548. BONUS_DEX=45
  549. BONUS_INT=30
  550. BONUS_STATS=25
  551. ADV_RATE=2.5,50.0,200.0
  552.  
  553. ON=@Fail
  554. SRC.SYSMESSAGE You don't seem to be able to persuade that to move.
  555.  
  556. ON=@Abort
  557. SRC.SYSMESSAGE You give up trying to persuade that to move.
  558.  
  559.  
  560. [SKILL 21]
  561. DEFNAME=Skill_Hiding
  562. KEY=Hiding
  563. TITLE=Shade
  564. PROMPT_MSG=
  565. DELAY=2.0
  566. STAT_STR=20
  567. STAT_INT=60
  568. STAT_DEX=90
  569. BONUS_STR=0
  570. BONUS_DEX=80
  571. BONUS_INT=20
  572. BONUS_STATS=25
  573. ADV_RATE=2.5,50.0,200.0
  574.  
  575. ON=@Fail
  576. SRC.SYSMESSAGE You can't seem to hide here.
  577.  
  578. ON=@Abort
  579. SRC.SYSMESSAGE You stop trying to hide.
  580.  
  581. [SKILL 22]
  582. DEFNAME=SKILL_PROVOCATION
  583. KEY=Provocation
  584. TITLE=Rouser
  585. PROMPT_MSG=Whom do you wish to incite?
  586. DELAY=3.0
  587. STAT_STR=20
  588. STAT_INT=60
  589. STAT_DEX=70
  590. BONUS_STR=0
  591. BONUS_DEX=90
  592. BONUS_INT=10
  593. BONUS_STATS=5
  594. ADV_RATE=2.5,50.0,200.0
  595.  
  596. ON=@Fail
  597. SRC.SYSMESSAGE Your music fails to incite enough anger.
  598.  
  599. ON=@Abort
  600. SRC.SYSMESSAGE You decide not to incite anything for now.
  601.  
  602. [SKILL 23]
  603. DEFNAME=Skill_Inscription
  604. KEY=Inscription
  605. TITLE=Scribe
  606. PROMPT_MSG=
  607. FLAGS=SKF_CRAFT
  608. DELAY=1.2 //Old value=3.0
  609. EFFECT=50
  610. STAT_STR=15
  611. STAT_INT=100
  612. STAT_DEX=15
  613. BONUS_STR=0
  614. BONUS_DEX=0
  615. BONUS_INT=100
  616. BONUS_STATS=10
  617. ADV_RATE=10.0,200.0,800.0
  618. VALUES=1,30,200
  619.  
  620. ON=@Fail
  621. SRC.SYSMESSAGE You fail to inscribe the scroll, and the scroll is ruined.
  622.  
  623. ON=@Abort
  624. SRC.SYSMESSAGE You scribble on the scroll a bit, but fail to finish it.
  625.  
  626. [SKILL 24]
  627. DEFNAME=Skill_LockPick
  628. KEY=LockPicking
  629. TITLE=Infiltrator
  630. PROMPT_MSG=What do you want to pick?
  631. DELAY=3.0
  632. STAT_STR=20
  633. STAT_INT=60
  634. STAT_DEX=90
  635. BONUS_STR=0
  636. BONUS_DEX=80
  637. BONUS_INT=20
  638. BONUS_STATS=25
  639. ADV_RATE=2.5,50.0,200.0
  640.  
  641. ON=@Fail
  642. SRC.SYSMESSAGE You are unable to pick the lock.
  643.  
  644. ON=@Abort
  645. SRC.SYSMESSAGE You stop trying to pick the lock.
  646.  
  647. [SKILL 25]
  648. DEFNAME=Skill_Magery
  649. KEY=Magery
  650. TITLE=Mage
  651. PROMPT_MSG=
  652. STAT_STR=20
  653. STAT_INT=100
  654. STAT_DEX=40
  655. BONUS_STR=0
  656. BONUS_DEX=0
  657. BONUS_INT=100
  658. BONUS_STATS=15
  659. ADV_RATE=10.0,200.0,800.0
  660. VALUES=1,20,80
  661. FLAGS=SKF_MAGIC
  662. //DELAY=1.0 // based on skill and difficulty.
  663.  
  664. ON=@Abort
  665. SRC.SYSMESSAGE You stop casting the spell.
  666.  
  667. [SKILL 26]
  668. DEFNAME=Skill_MagicResist
  669. KEY=MagicResistance
  670. TITLE=Warder
  671. PROMPT_MSG=
  672. EFFECT=0.0,90.0
  673. STAT_STR=40
  674. STAT_INT=100
  675. STAT_DEX=40
  676. BONUS_STR=0
  677. BONUS_DEX=0
  678. BONUS_INT=100
  679. BONUS_STATS=50
  680. ADV_RATE=10.0,200.0,800.0
  681.  
  682. [SKILL 27]
  683. DEFNAME=Skill_Tactics
  684. KEY=Tactics
  685. TITLE=Tactician
  686. STAT_STR=60
  687. STAT_INT=40
  688. STAT_DEX=70
  689. BONUS_STR=50
  690. BONUS_DEX=50
  691. BONUS_INT=0
  692. BONUS_STATS=10
  693. ADV_RATE=10.0,150.0,600.0
  694.  
  695. [SKILL 28]
  696. DEFNAME=Skill_Snooping
  697. KEY=Snooping
  698. TITLE=Spy
  699. PROMPT_MSG=
  700. DELAY=2.0
  701. STAT_STR=30
  702. STAT_INT=50
  703. STAT_DEX=60
  704. BONUS_STR=0
  705. BONUS_DEX=100
  706. BONUS_INT=0
  707. BONUS_STATS=25
  708. ADV_RATE=2.5,50.0,200.0
  709.  
  710. ON=@Fail
  711. SRC.SYSMESSAGE You fail to peek into the container.
  712.  
  713. ON=@Abort
  714. SRC.SYSMESSAGE You give up trying to peek into the container.
  715.  
  716. [SKILL 29]
  717. DEFNAME=Skill_Musicianship
  718. KEY=Musicianship
  719. TITLE=Bard
  720. PROMPT_MSG=
  721. DELAY=2.0
  722. STAT_STR=20
  723. STAT_INT=50
  724. STAT_DEX=70
  725. BONUS_STR=0
  726. BONUS_DEX=80
  727. BONUS_INT=20
  728. BONUS_STATS=10
  729. ADV_RATE=2.5,50.0,200.0
  730.  
  731. ON=@Fail
  732. SRC.SYSMESSAGE You play poorly, and there is no effect.
  733.  
  734. ON=@Abort
  735. SRC.SYSMESSAGE You put down your instrument.
  736.  
  737. [SKILL 30]
  738. DEFNAME=SKILL_POISONING
  739. KEY=Poisoning
  740. TITLE=Assassin
  741. PROMPT_MSG=To what do you wish to apply the poison?
  742. DELAY=2.0
  743. STAT_STR=15
  744. STAT_INT=40
  745. STAT_DEX=40
  746. BONUS_STR=0
  747. BONUS_DEX=20
  748. BONUS_INT=80
  749. BONUS_STATS=20
  750. ADV_RATE=2.5,50.0,200.0
  751. VALUES=1,30,200
  752.  
  753. ON=@Fail
  754. SRC.SYSMESSAGE You fail to apply a sufficient dose of poison to it.
  755.  
  756. ON=@Abort
  757. SRC.SYSMESSAGE You decide not to poison anything for now.
  758.  
  759. [SKILL 31]
  760. DEFNAME=Skill_Archery
  761. KEY=Archery
  762. TITLE=Archer
  763. PROMPT_MSG=
  764. FLAGS=SKF_FIGHT|SKF_RANGED
  765. DELAY=2.0,0.1
  766. STAT_STR=40
  767. STAT_INT=30
  768. STAT_DEX=70
  769. BONUS_STR=0
  770. BONUS_DEX=95
  771. BONUS_INT=5
  772. BONUS_STATS=10
  773. ADV_RATE=10.0,200.0,800.0
  774.  
  775. [SKILL 32]
  776. DEFNAME=SKILL_SPIRITSPEAK
  777. KEY=SpiritSpeak
  778. TITLE=Medium
  779. PROMPT_MSG=
  780. DELAY=2.0
  781. STAT_STR=20
  782. STAT_INT=70
  783. STAT_DEX=30
  784. BONUS_STR=0
  785. BONUS_DEX=0
  786. BONUS_INT=100
  787. BONUS_STATS=50
  788. ADV_RATE=2.5,50.0,200.0
  789.  
  790. ON=@Fail
  791. SRC.SYSMESSAGE You fail your attempt at contacting the netherworld.
  792.  
  793. ON=@Abort
  794. SRC.SYSMESSAGE You stop trying to commune with the netherworld.
  795.  
  796. [SKILL 33]
  797. DEFNAME=Skill_Stealing
  798. KEY=Stealing
  799. TITLE=Pickpocket
  800. PROMPT_MSG=Which item will you attempt to steal?
  801. DELAY=2.5
  802. STAT_STR=40
  803. STAT_INT=50
  804. STAT_DEX=100
  805. BONUS_STR=0
  806. BONUS_DEX=100
  807. BONUS_INT=0
  808. BONUS_STATS=10
  809. ADV_RATE=10.0,200.0,800.0
  810.  
  811. ON=@Fail
  812. SRC.SYSMESSAGE You fail to steal the item.
  813.  
  814. ON=@Abort
  815. SRC.SYSMESSAGE You give up trying to steal the item.
  816.  
  817. [SKILL 34]
  818. DEFNAME=Skill_Tailoring
  819. KEY=Tailoring
  820. TITLE=Tailor
  821. FLAGS=SKF_CRAFT
  822. PROMPT_MSG=
  823. DELAY=1.2 //Old value=4.5
  824. STAT_STR=30
  825. STAT_INT=30
  826. STAT_DEX=60
  827. BONUS_STR=5
  828. BONUS_DEX=75
  829. BONUS_INT=20
  830. BONUS_STATS=25
  831. ADV_RATE=2.5,50.0,200.0
  832. VALUES=1,20,80
  833.  
  834. ON=@Fail
  835. SRC.SYSMESSAGE Tailoring failed. Some of the cloth is ruined.
  836.  
  837. ON=@Abort
  838. SRC.SYSMESSAGE You decide not to sew anymore for now.
  839.  
  840. [SKILL 35]
  841. DEFNAME=Skill_Taming
  842. KEY=Taming
  843. TITLE=Tamer
  844. PROMPT_MSG=Tame which animal?
  845. DELAY=2.0
  846. STAT_STR=30
  847. STAT_INT=40
  848. STAT_DEX=60
  849. BONUS_STR=30
  850. BONUS_DEX=10
  851. BONUS_INT=60
  852. BONUS_STATS=20
  853. ADV_RATE=10.0,200.0,800.0
  854.  
  855. ON=@Fail
  856. SRC.SYSMESSAGE You fail to tame the creature.
  857.  
  858. ON=@Abort
  859. SRC.SYSMESSAGE You give up trying to tame the creature.
  860.  
  861. [SKILL 36]
  862. DEFNAME=skill_tasteid
  863. KEY=TasteID
  864. TITLE=Praegustator
  865. PROMPT_MSG=What would you like to taste?
  866. DELAY=1.0
  867. STAT_STR=25
  868. STAT_INT=50
  869. STAT_DEX=15
  870. BONUS_STR=20
  871. BONUS_DEX=0
  872. BONUS_INT=80
  873. BONUS_STATS=50
  874. ADV_RATE=2.5,50.0,200.0
  875.  
  876. ON=@Fail
  877. SRC.SYSMESSAGE You cannot discern anything about this substance.
  878.  
  879. ON=@Abort
  880. SRC.SYSMESSAGE You decide against tasting anything.
  881.  
  882. [SKILL 37]
  883. DEFNAME=Skill_Tinkering
  884. KEY=Tinkering
  885. TITLE=Tinker
  886. FLAGS=SKF_CRAFT
  887. PROMPT_MSG=
  888. DELAY=1.2 //Old value=3.0
  889. STAT_STR=30
  890. STAT_INT=100
  891. STAT_DEX=50
  892. BONUS_STR=20
  893. BONUS_DEX=20
  894. BONUS_INT=60
  895. BONUS_STATS=10
  896. ADV_RATE=2.5,50.0,200.0
  897. VALUES=1,20,80
  898.  
  899. ON=@Fail
  900. SRC.SYSMESSAGE Tinkering failed.
  901.  
  902. ON=@Abort
  903. SRC.SYSMESSAGE You stop trying to make anything.
  904.  
  905. [SKILL 38]
  906. DEFNAME=Skill_Tracking
  907. KEY=Tracking
  908. TITLE=Ranger
  909. PROMPT_MSG=What do you wish to track?
  910. DELAY=2.5
  911. STAT_STR=25
  912. STAT_INT=50
  913. STAT_DEX=50
  914. BONUS_STR=0
  915. BONUS_DEX=50
  916. BONUS_INT=50
  917. BONUS_STATS=25
  918. ADV_RATE=2.5,50.0,200.0
  919.  
  920. ON=@PreStart
  921. IF !(<SRC.ISPLAYER>)
  922. return 1
  923. ENDIF
  924.  
  925. ON=@Stroke
  926. LOCAL.ModZ=<eval <ACT.P.Z>/-10>
  927. SRC.ARROWQUEST <eval <ACT.P.X>+<LOCAL.ModZ>>,<eval <ACT.P.Y>+<LOCAL.ModZ>>,38
  928.  
  929. ON=@Fail
  930. SRC.SYSMESSAGE Tracking failed.
  931.  
  932. ON=@Abort
  933. SRC.SYSMESSAGE You stop tracking.
  934. SRC.ARROWQUEST 0,0,38
  935.  
  936. [SKILL 39]
  937. DEFNAME=Skill_Vet
  938. KEY=Veterinary
  939. TITLE=Veterinarian
  940. PROMPT_MSG=What animal would you like to heal?
  941. DELAY=2.0
  942. STAT_STR=30
  943. STAT_INT=50
  944. STAT_DEX=40
  945. BONUS_STR=20
  946. BONUS_DEX=20
  947. BONUS_INT=60
  948. BONUS_STATS=20
  949. ADV_RATE=10.0,200.0,800.0
  950.  
  951. ON=@Fail
  952. SRC.SYSMESSAGE You apply the bandages, but they barely help.
  953.  
  954. ON=@Abort
  955. SRC.SYSMESSAGE You stop applying the bandages.
  956.  
  957. [SKILL 40]
  958. DEFNAME=Skill_Swordsmanship
  959. KEY=Swordsmanship
  960. TITLE=Swords%s
  961. FLAGS=SKF_FIGHT
  962. PROMPT_MSG=
  963. STAT_STR=75
  964. STAT_INT=40
  965. STAT_DEX=75
  966. BONUS_STR=50
  967. BONUS_DEX=50
  968. BONUS_INT=0
  969. BONUS_STATS=10
  970. ADV_RATE=10.0,150.0,600.0
  971.  
  972. [SKILL 41]
  973. DEFNAME=Skill_Macefighting
  974. KEY=Macefighting
  975. TITLE=Arms%s
  976. FLAGS=SKF_FIGHT
  977. PROMPT_MSG=
  978. STAT_STR=100
  979. STAT_INT=35
  980. STAT_DEX=55
  981. BONUS_STR=80
  982. BONUS_DEX=20
  983. BONUS_INT=0
  984. BONUS_STATS=10
  985. ADV_RATE=10.0,150.0,600.0
  986.  
  987. [SKILL 42]
  988. DEFNAME=Skill_Fencing
  989. KEY=Fencing
  990. TITLE=Fencer
  991. FLAGS=SKF_FIGHT
  992. PROMPT_MSG=
  993. STAT_STR=55
  994. STAT_INT=60
  995. STAT_DEX=95
  996. BONUS_STR=20
  997. BONUS_DEX=80
  998. BONUS_INT=0
  999. BONUS_STATS=10
  1000. ADV_RATE=10.0,150.0,600.0
  1001.  
  1002. [SKILL 43]
  1003. DEFNAME=Skill_Wrestling
  1004. KEY=Wrestling
  1005. TITLE=Wrestler
  1006. FLAGS=SKF_FIGHT
  1007. PROMPT_MSG=
  1008. STAT_STR=100
  1009. STAT_INT=30
  1010. STAT_DEX=75
  1011. BONUS_STR=50
  1012. BONUS_DEX=50
  1013. BONUS_INT=0
  1014. BONUS_STATS=10
  1015. ADV_RATE=8.5,120.0,680.0
  1016.  
  1017. [SKILL 44]
  1018. DEFNAME=SKILL_LUMBERJACK
  1019. KEY=Lumberjacking
  1020. TITLE=Lumberjack
  1021. PROMPT_MSG=
  1022. DELAY=1.0
  1023. RANGE=2
  1024. FLAGS=SKF_GATHER
  1025. STAT_STR=85
  1026. STAT_INT=30
  1027. STAT_DEX=45
  1028. BONUS_STR=90
  1029. BONUS_DEX=10
  1030. BONUS_INT=0
  1031. BONUS_STATS=20
  1032. ADV_RATE=2.5,50.0,200.0
  1033. VALUES=1,10,50
  1034.  
  1035. ON=@PreStart
  1036. IF (<SRC.WEAPON.USESCUR>< 1)
  1037. SRC.SYSMESSAGE The tool is out of charges.
  1038. return 1
  1039. ENDIF
  1040.  
  1041. ON=@Success
  1042. SRC.WEAPON.USESCUR --
  1043. IF (<SRC.WEAPON.USESCUR>==0)
  1044. SRC.WEAPON.DESTROY 1
  1045. ENDIF
  1046.  
  1047.  
  1048. ON=@Fail
  1049. SRC.SYSMESSAGE You hack at the tree for a while, but fail to produce any useable wood.
  1050.  
  1051. ON=@Abort
  1052. SRC.SYSMESSAGE You decide not to chop wood for now.
  1053.  
  1054. ON=@Stroke
  1055. IF ( <SERV.EXPERIMENTAL>&00002000) // EF_DamageTools
  1056. IF (<SRC.WEAPON.HITS> > 0)
  1057. SRC.WEAPON.DAMAGE <eval <maxhits>*2>,DAM_PHYSICAL,<SRC>
  1058. ELSE
  1059. SRC.WEAPON.DESTROY 1
  1060. ENDIF
  1061. ENDIF
  1062.  
  1063. [SKILL 45]
  1064. DEFNAME=SKILL_MINING
  1065. KEY=Mining
  1066. TITLE=Miner
  1067. PROMPT_MSG=Where would you like to mine?
  1068. DELAY=1.0
  1069. RANGE=2
  1070. FLAGS=SKF_GATHER
  1071. STAT_STR=85
  1072. STAT_INT=30
  1073. STAT_DEX=45
  1074. BONUS_STR=70
  1075. BONUS_DEX=30
  1076. BONUS_INT=0
  1077. BONUS_STATS=20
  1078. ADV_RATE=2.5,50.0,200.0
  1079. VALUES=1,10,80
  1080.  
  1081. ON=@PreStart
  1082. IF (<SRC.FINDLAYER.layer_horse>)
  1083. SRC.SYSMESSAGE You can't mine while riding.
  1084. return 1
  1085. ENDIF
  1086. IF (<SRC.WEAPON.USESCUR>< 1)
  1087. SRC.SYSMESSAGE The tool is out of charges.
  1088. return 1
  1089. ENDIF
  1090.  
  1091. ON=@Success
  1092. SRC.WEAPON.USESCUR --
  1093. IF (<SRC.WEAPON.USESCUR>==0)
  1094. SRC.WEAPON.DESTROY 1
  1095. ENDIF
  1096.  
  1097.  
  1098. ON=@Fail
  1099. SRC.SYSMESSAGE You loosen some rocks but fail to find any useable ore.
  1100.  
  1101. ON=@Abort
  1102. SRC.SYSMESSAGE You decide not to mine for now.
  1103.  
  1104. ON=@Stroke
  1105. IF (<SRC.FINDLAYER.layer_horse>)
  1106. SRC.SYSMESSAGE You can't mine while riding.
  1107. return 1
  1108. ENDIF
  1109. IF ( <SERV.EXPERIMENTAL>&00002000) // EF_DamageTools
  1110. IF (<SRC.WEAPON.HITS> > 0)
  1111. SRC.WEAPON.DAMAGE <eval <maxhits>*2>,DAM_PHYSICAL,<SRC> // 2 of 16 chances to receive damage.
  1112. ELSE
  1113. SRC.WEAPON.DESTROY
  1114. ENDIF
  1115. ENDIF
  1116.  
  1117. [SKILL 46]
  1118. DEFNAME=SKILL_MEDITATION
  1119. KEY=Meditation
  1120. TITLE=Stoic
  1121. DELAY=2.0,1.0
  1122. STAT_STR=10
  1123. STAT_INT=100
  1124. STAT_DEX=10
  1125. BONUS_STR=5
  1126. BONUS_DEX=90
  1127. BONUS_INT=5
  1128. BONUS_STATS=20
  1129. ADV_RATE=10.0,200.0,800.0
  1130.  
  1131. ON=@Fail
  1132. //SRC.f_meditation_setup
  1133. SRC.SYSMESSAGE You lose your concentration.
  1134.  
  1135. ON=@Abort
  1136. //SRC.f_meditation_setup
  1137. SRC.SYSMESSAGE You stop concentrating.
  1138.  
  1139. ON=@Start
  1140. //SRC.f_meditation_setup
  1141.  
  1142. ON=@Success
  1143. //SRC.f_meditation_setup
  1144.  
  1145.  
  1146. [function f_meditation_setup]
  1147. // This enables OSI meditation, providing a passive boost to RegenMana everytime and increasing it when the skill is active instead of the old regen-when-active.
  1148. if (<tag0.MeditBonus>)
  1149. RegenMana -=<tag.MeditBonus> // Removing old bonus before applying new one.
  1150. endif
  1151. tag.MeditBonus
  1152. if (<tag0.MeditPenalty>) // No Bonus when wearing plate armor
  1153. return 0
  1154. endif
  1155. local.baseBonus=<eval ((<Meditation>/10) * 3) + <int>> // Bonus given by meditation and int
  1156. if (<Meditation> >= 1000) // GM medit gets a +10% bonus
  1157. local.baseBonus += <muldiv <dlocal.baseBonus>,10,100>
  1158. endif
  1159. tag.MeditBonus=<eval 2 + <local.baseBonus> / 40> // This is the value applied to RegenMana
  1160. if (<action>==Meditation) // If we are meditating the bonus gets doubled.
  1161. tag.MeditBonus *=2
  1162. endif
  1163. RegenMana += <tag.MeditBonus>
  1164.  
  1165. [SKILL 47]
  1166. DEFNAME=SKILL_STEALTH
  1167. KEY=Stealth
  1168. TITLE=Rogue
  1169. PROMPT_MSG=
  1170. DELAY=2.0
  1171. STAT_STR=20
  1172. STAT_INT=60
  1173. STAT_DEX=90
  1174. BONUS_STR=0
  1175. BONUS_DEX=80
  1176. BONUS_INT=20
  1177. BONUS_STATS=25
  1178. ADV_RATE=10.0,200.0,800.0
  1179.  
  1180. ON=@PreStart
  1181. IF !(<FLAGS> & statf_invisible|statf_hidden)
  1182. SYSMESSAGE You must hide first
  1183. return 1
  1184. ELIF (<HIDING> < 80.0)
  1185. SYSMESSAGE You are not hidden well enough. Become better at hiding.
  1186. REVEAL
  1187. return 1
  1188. ELIF (<GetCharArmorRating> >= 42)
  1189. SYSMESSAGE You could not hope to move quietly wearing this much armor.
  1190. REVEAL
  1191. return 1
  1192. ENDIF
  1193.  
  1194. ON=@Success
  1195. STEPSTEALTH = <eval <STEALTH>/50>
  1196. SYSMESSAGE You begin to move quietly.
  1197.  
  1198. ON=@Fail
  1199. SYSMESSAGE You fail in your attempt to move unnoticed.
  1200. REVEAL
  1201.  
  1202. ON=@Abort
  1203. SYSMESSAGE You give up trying to hide here.
  1204.  
  1205. [FUNCTION GetCharArmorRating]
  1206. ARGS=4,6,7,10,13,19
  1207. WHILE (<dARGS>)
  1208. IF !(<FINDLAYER.<ARGV0>.MageArmor>)
  1209. LOCAL.AR += <DEF0.ArmorRating.<FINDLAYER.<ARGV0>.GetArmorMaterial>.Layer<ARGV0>>
  1210. ENDIF
  1211. ARGS=<STREAT <ARGS>>
  1212. ENDWHILE
  1213. return <LOCAL.AR>
  1214.  
  1215. [FUNCTION GetArmorMaterial]
  1216. IF (<DISPIDDEC> >= 5061) && (<DISPIDDEC> <= 5075)
  1217. return Leather
  1218. ELIF (<DISPIDDEC> >= 5076) && (<DISPIDDEC> <= 5090)
  1219. return Studded
  1220. ELIF (<DISPIDDEC> >= 5198) && (<DISPIDDEC> <= 5207)
  1221. return Bone
  1222. ELIF (<DISPIDDEC> >= 5093) && (<DISPIDDEC> <= 5106)
  1223. return Ring
  1224. ELIF (<DISPIDDEC> >= 5051) && (<DISPIDDEC> <= 5060)
  1225. return Chain
  1226. ELIF (<DISPIDDEC> >= 5128) && (<DISPIDDEC> <= 5146)
  1227. return Plate
  1228. ELIF (<DISPIDDEC> >= 9793) && (<DISPIDDEC> <= 9800)
  1229. return Dragon
  1230. ENDIF
  1231.  
  1232. [DEFNAME ArmorRating]
  1233. ArmorRating.Studded.Layer4 6
  1234. ArmorRating.Studded.Layer7 2
  1235. ArmorRating.Studded.Layer10 2
  1236. ArmorRating.Studded.Layer13 10
  1237. ArmorRating.Studded.Layer19 4
  1238. ArmorRating.Bone.Layer4 15
  1239. ArmorRating.Bone.Layer6 10
  1240. ArmorRating.Bone.Layer7 5
  1241. ArmorRating.Bone.Layer13 25
  1242. ArmorRating.Bone.Layer19 10
  1243. ArmorRating.Ring.Layer4 15
  1244. ArmorRating.Ring.Layer7 5
  1245. ArmorRating.Ring.Layer13 25
  1246. ArmorRating.Ring.Layer19 10
  1247. ArmorRating.Chain.Layer4 15
  1248. ArmorRating.Chain.Layer6 10
  1249. ArmorRating.Chain.Layer13 25
  1250. ArmorRating.Plate.Layer4 15
  1251. ArmorRating.Plate.Layer6 10
  1252. ArmorRating.Plate.Layer7 5
  1253. ArmorRating.Plate.Layer10 5
  1254. ArmorRating.Plate.Layer13 25
  1255. ArmorRating.Plate.Layer19 10
  1256. ArmorRaring.Dragon.Layer4 15
  1257. ArmorRaring.Dragon.Layer6 10
  1258. ArmorRaring.Dragon.Layer7 5
  1259. ArmorRaring.Dragon.Layer13 25
  1260. ArmorRaring.Dragon.Layer19 10
  1261.  
  1262.  
  1263. [SKILL 48]
  1264. DEFNAME=SKILL_REMOVE_TRAP
  1265. KEY=RemoveTrap
  1266. TITLE=Trap Specialist
  1267. PROMPT_MSG=Select the trap to disarm
  1268. DELAY=7.0,3.0,2.0
  1269. STAT_STR=20
  1270. STAT_INT=60
  1271. STAT_DEX=90
  1272. BONUS_STR=0
  1273. BONUS_DEX=80
  1274. BONUS_INT=20
  1275. BONUS_STATS=25
  1276. ADV_RATE=2.5,50.0,200.0
  1277.  
  1278. ON=@Fail
  1279. SRC.SYSMESSAGE You fail to disarm the trap.
  1280.  
  1281. ON=@Abort
  1282. SRC.SYSMESSAGE You give up trying to disarm the trap.
  1283.  
  1284. [SKILL 49]
  1285. DEFNAME=SKILL_Necromancy
  1286. KEY=Necromancy
  1287. TITLE=Necromancer
  1288. STAT_STR=20
  1289. STAT_INT=100
  1290. STAT_DEX=40
  1291. BONUS_STR=0
  1292. BONUS_DEX=0
  1293. BONUS_INT=100
  1294. BONUS_STATS=15
  1295. ADV_RATE=10.0,200.0,800.0
  1296. // VALUES=1,10,80
  1297. FLAGS=SKF_MAGIC
  1298.  
  1299. ON=@Fail
  1300. SRC.SYSMESSAGE The spell fizzles.
  1301.  
  1302. ON=@Abort
  1303. SRC.SYSMESSAGE You stop casting the spell.
  1304.  
  1305. [SKILL 50]
  1306. DEFNAME=SKILL_Focus
  1307. KEY=Focus
  1308. TITLE=Driven
  1309. STAT_STR=10
  1310. STAT_INT=100
  1311. STAT_DEX=10
  1312. BONUS_STR=0
  1313. BONUS_DEX=0
  1314. BONUS_INT=0
  1315. BONUS_STATS=0
  1316. ADV_RATE=10.0,200.0,800.0
  1317.  
  1318. [SKILL 51]
  1319. DEFNAME=SKILL_CHIVALRY
  1320. KEY=Chivalry
  1321. TITLE=Paladin
  1322. STAT_STR=100
  1323. STAT_INT=35
  1324. STAT_DEX=55
  1325. BONUS_STR=80
  1326. BONUS_DEX=20
  1327. BONUS_INT=0
  1328. BONUS_STATS=10
  1329. ADV_RATE=10.0,150.0,600.0
  1330. FLAGS=SKF_MAGIC
  1331.  
  1332. [SKILL 52]
  1333. DEFNAME=SKILL_BUSHIDO
  1334. KEY=Bushido
  1335. TITLE=Samurai
  1336. FLAGS=SKF_FIGHT
  1337. STAT_STR=55
  1338. STAT_INT=60
  1339. STAT_DEX=95
  1340. BONUS_STR=20
  1341. BONUS_DEX=80
  1342. BONUS_INT=0
  1343. BONUS_STATS=10
  1344. ADV_RATE=10.0,150.0,600.0
  1345.  
  1346. [SKILL 53]
  1347. DEFNAME=SKILL_NINJITSU
  1348. KEY=Ninjitsu
  1349. TITLE=Ninja
  1350. FLAGS=SKF_FIGHT
  1351. STAT_STR=55
  1352. STAT_INT=60
  1353. STAT_DEX=95
  1354. BONUS_STR=20
  1355. BONUS_DEX=80
  1356. BONUS_INT=0
  1357. BONUS_STATS=10
  1358. ADV_RATE=10.0,150.0,600.0
  1359.  
  1360. [SKILL 54]
  1361. DEFNAME=SKILL_SPELLWEAVING
  1362. KEY=Spellweaving
  1363. TITLE=Arcanist
  1364. STAT_STR=20
  1365. STAT_INT=70
  1366. STAT_DEX=30
  1367. BONUS_STR=0
  1368. BONUS_DEX=0
  1369. BONUS_INT=100
  1370. BONUS_STATS=50
  1371. ADV_RATE=2.5,50.0,200.0
  1372. FLAGS=SKF_MAGIC
  1373.  
  1374. [SKILL 55]
  1375. DEFNAME=SKILL_MYSTICISM
  1376. KEY=Mysticism
  1377. TITLE=Mystic
  1378. STAT_STR=20
  1379. STAT_INT=70
  1380. STAT_DEX=30
  1381. BONUS_STR=0
  1382. BONUS_DEX=0
  1383. BONUS_INT=100
  1384. BONUS_STATS=50
  1385. ADV_RATE=2.5,50.0,200.0
  1386. FLAGS=SKF_MAGIC
  1387.  
  1388. [SKILL 56]
  1389. DEFNAME=SKILL_IMBUING
  1390. KEY=Imbuing
  1391. TITLE=Artificer
  1392. DELAY=3.0
  1393. STAT_STR=15
  1394. STAT_INT=100
  1395. STAT_DEX=15
  1396. BONUS_STR=0
  1397. BONUS_DEX=0
  1398. BONUS_INT=100
  1399. BONUS_STATS=10
  1400. ADV_RATE=10.0,200.0,800.0
  1401. VALUES=1,30,200
  1402.  
  1403. [SKILL 57]
  1404. DEFNAME=SKILL_THROWING
  1405. KEY=Throwing
  1406. TITLE=Bladeweaver
  1407. FLAGS=SKF_FIGHT|SKF_RANGED
  1408. STAT_STR=40
  1409. STAT_INT=30
  1410. STAT_DEX=70
  1411. BONUS_STR=0
  1412. BONUS_DEX=95
  1413. BONUS_INT=5
  1414. BONUS_STATS=10
  1415. ADV_RATE=10.0,200.0,800.0
  1416.  
  1417.  
  1418. [SKILLCLASS 0]
  1419. // undeclared class.
  1420. // max skills for players of this skill class.
  1421. DEFNAME=Class_undeclared
  1422. NAME=undeclared
  1423. // EVENTS=e_ClassUndeclared
  1424. STATSUM=300
  1425. SKILLSUM=10000.0
  1426. STR=100
  1427. INT=100
  1428. DEX=100
  1429. Alchemy=100.0
  1430. Anatomy=100.0
  1431. AnimalLore=100.0
  1432. ItemId=100.0
  1433. ArmsLore=100.0
  1434. Parrying=100.0
  1435. Begging=100.0
  1436. Blacksmithing=100.0
  1437. Bowcraft=100.0
  1438. Peacemaking=100.0
  1439. Camping=100.0
  1440. Carpentry=100.0
  1441. Cartography=100.0
  1442. Cooking=100.0
  1443. DetectingHidden=100.0
  1444. Enticement=100.0
  1445. EvaluatingIntel=100.0
  1446. Healing=100.0
  1447. Fishing=100.0
  1448. Forensics=100.0
  1449. Herding=100.0
  1450. Hiding=100.0
  1451. Provocation=100.0
  1452. Inscription=100.0
  1453. LockPicking=100.0
  1454. Magery=100.0
  1455. MagicResistance=100.0
  1456. Tactics=100.0
  1457. Snooping=100.0
  1458. Musicianship=100.0
  1459. Poisoning=100.0
  1460. Archery=100.0
  1461. SpiritSpeak=100.0
  1462. Stealing=100.0
  1463. Tailoring=100.0
  1464. Taming=100.0
  1465. TasteId=100.0
  1466. Tinkering=100.0
  1467. Tracking=100.0
  1468. Veterinary=100.0
  1469. Swordsmanship=100.0
  1470. Macefighting=100.0
  1471. Fencing=100.0
  1472. Wrestling=100.0
  1473. Lumberjacking=100.0
  1474. Mining=100.0
  1475. Meditation=100.0
  1476. Stealth=100.0
  1477. RemoveTrap=100.0
  1478. Necromancy=100.0
  1479. Focus=100.0
  1480. Chivalry=100.0
  1481. Bushido=100.0
  1482. Ninjitsu=100.0
  1483. Spellweaving=100.0
  1484. Mysticism=100.0
  1485. Imbuing=100.0
  1486. Throwing=100.0
  1487.  
  1488. ON=@Login
  1489. if <account.plevel>>1
  1490. events +e_staff
  1491. endif
  1492. if <tag0.badname>
  1493. timerf 3, namechange
  1494. endif
  1495. ACCOUNT.TAG.rTICKS <SERV.RTICKS>
  1496. EVENTS +e_skillgain
  1497. EVENTS +e_young
  1498. setvetstatus
  1499. SYSMESSAGE Welcome to <SERV.NAME>, <NAME>! Happy playing!
  1500.  
  1501.  
  1502. ON=@Rename
  1503. if (<argo.isplayer>)
  1504. ref1 <argo>
  1505. for x 0 <eval <serv.accounts> -1>
  1506. for y 0 <eval <account.chars> -1>
  1507. ref2 = <serv.account.<dlocal.x>.char.<dlocal.y>>
  1508. if !(strcmpi(<args>,<ref2.name>)) && !(<ref1>==<ref2>)
  1509. ref1.namechange
  1510. return 1
  1511. endif
  1512. endfor
  1513. endfor
  1514. endif
  1515.  
  1516. ON=@ItemEquip
  1517. if (<act.type>==t_armor && !<act.MageArmor>)
  1518. tag0.MeditPenalty ++
  1519. f_meditation_setup
  1520. endif
  1521.  
  1522. ON=@ItemUnEquip
  1523. if (<act.type>==t_armor && !<act.MageArmor>)
  1524. tag0.MeditPenalty --
  1525. f_meditation_setup
  1526. endif
  1527.  
  1528.  
  1529.  
  1530. [EOF]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement