![]() |
The Black Wyrm's Lair Terms of Use |
![]() ![]() ![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() ![]() Mod Developer Posts: 210 Joined: 3-December 05 ![]() |
Hello,
I'm trying to test kits in scripts, but I have manually set the kits with that: WRITE_SHORT 0x244 0 //unused in KITLIST.2DA designation WRITE_BYTE 0x246 29 //change to <name of kit> number as per KITLIST.2DA row WRITE_BYTE 0x247 0x40 //force kit to use KITLIST.2DA instead of KIT.IDS 29 for a transmuter, in my example When I look into Near infinity, I have 29 - Transmuter It seems to work fine (notice that on a normal cre, Transmuter is number 8192 if you set the kit with NI) Then come the script: OR(3) CheckStat(Myself,8192,KIT) CheckStat(Myself,29,KIT) Kit(Myself,MAGESCHOOL_TRANSMUTER) Neither of these triggers work... The first one work with a normal cre using transmuter kit. I don't know how to do. |
|
|
![]() |
![]()
Post
#2
|
|
![]() Mathematical poet Retired team member Posts: 159 Joined: 9-July 04 From: Prague, Czech Republic ![]() |
Original kit.ids has incorrect values. Correct table should look as follows:
CODE 0x0000 BARBARIAN 0x0000 WILDMAGE 0x0040 MAGESCHOOL_ABJURER 0x0080 MAGESCHOOL_CONJURER 0x0100 MAGESCHOOL_DIVINER 0x0200 MAGESCHOOL_ENCHANTER 0x0400 MAGESCHOOL_ILLUSIONIST 0x0800 MAGESCHOOL_INVOKER 0x1000 MAGESCHOOL_NECROMANCER 0x2000 MAGESCHOOL_TRANSMUTER 0x4000 TRUE_CLASS 0x4001 BERSERKER 0x4002 WIZARDSLAYER 0x4003 KENSAI 0x4004 CAVALIER 0x4005 INQUISITOR 0x4006 UNDEADHUNTER 0x4007 FERALAN 0x4008 STALKER 0x4009 BEASTMASTER 0x400A ASSASIN 0x400B BOUNTYHUNTER 0x400C SWASHBUCKLER 0x400D BLADE 0x400E JESTER 0x400F SKALD 0x4010 TOTEMIC 0x4011 SHAPESHIFTER 0x4012 BEASTFRIEND 0x4013 GODTALOS 0x4014 GODHELM 0x4015 GODLATHANDER BTW ascension: what do you mean? In kit.ids there are the hex humbers too. The only neccessity can be in the switching of the bytes to the reversed endian. -------------------- |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 29th August 2025 - 07:50 PM |